2
Logic question.
Post Flair (click to view more posts with a particular flair)
Post Body
Every new account in Cloud Firestore has a member ID.
I have an doc in a separate collection called memberIDgenerator with an โint = 0001โ in Cloud Firestore.
How can I get this integer and assign it to a TextEditingController, or a string/int that can be assigned in order for me to be able to create new account and not have to manually type in the corresponding memberID.
I am able to easily update the int 1, but It has been quite difficult in being able to assign this int to a controller or a string that can be assigned to create an account The int has to stay in Firestore since there will be two devices creating accounts, hence, I canโt store it in the device.
Any advice? Thanks in advance!
Author
Account Strength
100%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,321
Link Karma
606
Comment Karma
2,260
Profile updated: 1 day ago
Posts updated: 6 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/flutterhelp...