I'm trying to create a searchable field that searches the registered users in the Firebase application and return a list of all close matches. The reason for this is I need to find the searched users uid to invite them to a game, and then deliver a push notification to alert them that an invite has been received. I don't know if this is possible as the documentation seems to suggest it has to be a 1 to 1 match against the email address for it to be returned.
The problem I'm experiencing is the admin.auth() from firebase-admin requires node modules to perform the related work. So I'm wondering if there is another SDK that allows you to do so or can this functionality be produced using the standard firebase import in a React Native expo application.
Unfortunately, I have no code as nothing seems to work and all point to using the firebase-admin package in a node-based project to do the dirty work of the query.