Skip to content

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

  1. In the Firebase project used by the native app, open Project settingsService accounts and select Generate new private key.
  2. In EspoCRM, open AdministrationIntegrationsFirebase (Mobile App).
  3. Paste the complete service account JSON into Service Account JSON, then save and enable the integration.
  4. 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.