I made an app in swift 3 where registration request from user is manually approved or rejected by the admin. Is there a way that whenever a new user registers, me as an admin can get some kind of notification like an email etc.
When a user sends a registration request, all user info is stored in firebase with “UsersStatus” attribute to be zero which means user is not approved. Admin has to manually change “UserStatus” to 1 which means that registration request from user is now approved. But Admin has to manually check every user which is not an efficient approach. Is there any possibility where I can search the users with “UserStatus” attribute 0 so that I don’t have to check each user. I tried Looking into Admin SDK of firebase but it looks like that as of now for swift admin SDK is not available. I have attached a image which contains the structure that I have in my app. Thanks in advance for any suggestions