Before you begin: Ensure that you have completed the steps described in Enable push notifications in your branded apps.
To enable push notifications in Android branded apps:
- Open your app in the AppSheet app editor.
- Go to Manage > Deploy > Branded Apps and expand the For Android section.
- Copy the application ID of your Android app.
- Sign in to the Firebase Console and navigate to your project.
- Click > Project settings.
- Click the General tab and then click Add app.
- Click Android (as shown in the figure).
The Add Firebase to your Android app dialog is displayed. - In the Android package name field, paste the application ID of your Android app, copied in step 3, and click Register App.
- Click Download google-services.json to download the
google-services.json
configuration file, needed for sending push notifications to your branded app.
- Click Next to skip through the next few steps in the Firebase app wizard; AppSheet takes care of everything else.
- Return to the Branded Apps page in the AppSheet app editor.
- In the For Android section, do the following:
- Upload the
google-services.json
file, downloaded in step 9, in the Optional: Firebase Notification Configuration File field. - If you haven't already created a branded app for Android, click Create a branded version of this app for Android devices.
- Upload the
Congratulations! You have just generated a native app capable of receiving push notifications from AppSheet.
After you download and install your app, you can try this feature out by navigating to Manage > Broadcast Notifications and broadcast a notification to your users. Be sure to verify that it works before sending out your app to your users.