11. Admin Setup
Last updated
Last updated
To assign yourself as an admin of the app and to get access to your admin panel, follow the below steps:
In the app, sign up using your email and password (not with social logins like google, FB, or apple).
After creating the account, now go to your firebase console > your_app > firestore database and then you will see that a collection named users has been created.
Now click on your document and then create a field by role and then select type as an array and then in the first array enter the admin keyword and then click on the Add button.