Is it possible to query firebase and return a list of all authentication emails registered? I would like to send emails to all the emails in the database using android studio. Thanks.
Asked
Active
Viewed 861 times
0
-
See https://stackoverflow.com/q/39757121, https://stackoverflow.com/q/38168973, https://stackoverflow.com/q/56566791 – Frank van Puffelen Apr 03 '20 at 04:27
1 Answers
0
Client apps are not allowed to get lists of users directly from Firebase Authentication - there is not even an API for that. You will have to build something on your own.
One approach is to have each user write their information to a database that can be queried by other users.
Another approach is to have the client call a backend that uses the Firebase Admin SDK to list users and return that to the client.
Doug Stevenson
- 297,357
- 32
- 422
- 441