Firebase Application Configuration
Configure Firebase as an application in your Elements installation so you can take advantage of push notifications.
Last updated
Configure Firebase as an application in your Elements installation so you can take advantage of push notifications.
Last updated
The Firebase application configuration is used to give your Elements application access to Firebase push notifications for iOS and Android apps.
You will need to create a project on the Firebase console.
Set up your app for iOS and/or Android in your firebase project. You may need to follow additional steps such as configuring your APNs key in Firebase. Refer to the Firebase documentation to get all of this set up.
Inside the project settings, go to Service Accounts. Under Firebase Admin SDK, and generate a new private key. This will generate a key that you will download. Keep this key in a secure place as it cannot be retrieved.
When you set up a Firebase application configuration in Elements, you will need the Firebase Project ID and the private key from the above steps.
Edit an application in Elements
Add an Application configuration in the Application Editor, as seen here (or edit an existing one) select "Firebase."
Enter the needed info and save with the "OK" button.
There will also be a server-side lua scripting component and a client-side component to getting notifications running, but those will be covered elsewhere in this documentation.