Firebase
Go to firebase console and create project and choose a name.
Android
Add two android apps: for admin and user .
For the user app, you need to generate a signing certificate for google authentication. Go to CMD and type:
keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
And replace%USERPROFILE%
with your Windows username.Download google-services.json file.
Copy and paste the file into android/app.
After these steps, you will have two apps: for admin and user.
IOS
Add two iOS apps: for admin and user.
Download GoogleService-Info.plist file.
Copy and paste the file into ios/Runner.
Add these files using XCODE(open Runner.xcodeproj).