
Generating keystore file

- Open the Terminal or Command Prompt.
- Replace <my-release-key> and <alias_name> with the desired file name and alias name, respectively, then:
You will be prompted to set your Keystore password.
- Set your Keystore password and memorize it. You'll need this again when you code sign your app for Android.
- Enter the details as prompted.
- Set your Key password:
- Enter the required password.
- Else, press the RETURN or ENTER key in your keyboard to set the Keystore password as the Key password.
The Keystore file will be generated and downloaded in the path where you executed the above commands.
Download Firebase config file and FCM server key

1. Download Firebase config file
- Sign in to your Firebase console.
- Select the required project. If you haven't created a project yet, then:
- Click the Settings icon, then select Project settings.
- Navigate to the General tab.
- In the Your apps card, select the package name of the app for which you need a config file.
- Click the google-services.json button. Your Firebase config file will be downloaded to your device.
2. Download FCM server key
- Access your Firebase console.
- Select the required project.
- Click the Settings icon, then select Project settings.
- Navigate to the Cloud Messaging tab.
- Copy the Server key.