Overview
This document covers end to end integration of Firebase push notifications with Auxia systems. There are the following major components to the integration:
- Integrate Firebase on the client application
- Receive push notifications on the client application
- Emit notification related events from the client application
- Enable Auxia to send push notifications
- Share Service Account details
- FCM token
- How does the delivery work?
- Enable Auxia to collect notification events
- Create Treatments
- Create Push Notifications Treatment Type
Checklist
- [ ] Share user_id to FCM token mapping for every user as user attributes with Auxia. (steps)
- The property must be
fcm_token with string_value field set for the property value.
- [ ] Share Firebase notification events with Auxia. (steps)
- The table must be shared as is exported from the Firebase.
- [ ] Share JSON authentication key for a service account with the following roles. (steps)
- The service account must have the following roles:
Firebase Cloud Messaging API Admin
Integrate Firebase on the client application
Enable Auxia to send push notifications
Enable Auxia to collect notification events
[Sample] Push Notification Script
[Sample] Flutter Set up