Good afternoon.
I have used the code from another post to add a user into my app, after a little assistance i was able to get the user to add into the User collection along with adding them as an authenticated user, all whilst not logging the original user out.
Sooo, even though i am able to add the user into the User collection. When i do a query, They do not show up. I have added users via the normal sign up form that i have, and this works fine with them showing up in a query. I can also manually enter them in via the Add document button in the Firestore Data Manager. This also works fine and shows the results in the query.
I have looked at the Firestore User collection, and all entries are there, and to what i can see they are not missing any information.
At this stage i have 6 users in the firestore User collection, but only 4 are showing up, the missing 2 are the users i have added via the new in-app admin form.
Can someone please tell me where i have gone wrong.
Supplied is the codes and screen shots for
1 - DataTable Children Generator
2 - DataTable Query
3 - Firestore User Collection screen
4 - User Collection Schema
5 - Cloud Function
6 - Custom Action