Firebase Cloud Messaging (FCM)¶
Firebase Cloud Messaging (FCM) sends notifications to compatible native Android and iOS apps. It runs alongside WebPush or Telegram and is not a Default Notification Provider option.
Setup¶
- In the Firebase project used by the native app, open Project settings → Service accounts and select Generate new private key.
- In EspoCRM, open Administration → Integrations → Firebase (Mobile App).
- Paste the complete service account JSON into Service Account JSON, then save and enable the integration.
- Ask users to sign in to the compatible native app so it can register its device token.
Warning
The service account JSON includes a private key. Restrict access to EspoCRM administrators and do not share or publish the file.
Upgrade¶
This release stores native device tokens in a dedicated database table. After upgrading, run:
Rebuild after installing the update
php rebuild.php
Tokens stored by earlier releases are not migrated automatically; users must sign in to the native app again.