Setup overview
- Create a Firebase project for your app (or use an existing one)
- Add your iOS and Android apps to the Firebase project
- Upload credentials to Studio (see iOS credentials and Android credentials)
- Studio injects the credentials into your builds
Notification types
The plugin defines these notification events (BMA_Push_Types):
Each type can be enabled or disabled by users in the app’s notification preferences screen.
Silent / data-only pushes
Blockli uses data + title/body pushes (not silent-only) so thataddNotificationReceivedListener fires on both foreground and background. The notification UI is suppressed programmatically when the notification should be handled in-app without showing a banner.
Real-time events
In addition to push, the plugin includes a real-time channel (BMA_Realtime) for in-app events while the user has the app open. This uses a polling or WebSocket connection depending on your server configuration. Real-time events power features like:
- Live activity feed updates
- Chat message delivery
- Presence indicators
- Livestream status changes

