Exchanging information with Firebase Cloud Messaging

17 July 2024

ID 216467

Kaspersky Endpoint Security for Android uses the Firebase Cloud Messaging (FCM) service to ensure timely delivery of commands to mobile devices and forced synchronization when policy settings are changed.

To use the Firebase Cloud Messaging service, you must define the service settings in Kaspersky Security Center Web Console or Cloud Console.

To enable Firebase Cloud Messaging in Kaspersky Security Center Web Console or Cloud Console:

  1. In the main window of Kaspersky Security Center Web Console or Cloud Console, select Devices > Mobile > Android devices synchronization.

    The Android devices synchronization window opens.

  2. Specify the Firebase Cloud Messaging settings:
    • Enter the Sender ID in the Firebase project number field.
    • Open the private key file, copy its contents and enter them into the Private key field.

Firebase Cloud Messaging is enabled.

To obtain a Sender ID and a private key file:

  1. Register on the Google portal.
  2. Go to the Firebase console.
  3. Do one of the following:
    • To create a new project, click Create a project and follow the instructions on the screen.
    • Open an existing project.
  4. Click the gear icon and choose Project settings.

    The Project settings window opens.

  5. Select the Cloud Messaging tab.
  6. Retrieve the relevant Sender ID from the Sender ID field in the Firebase Cloud Messaging API (V1) section.
  7. Select the Service accounts tab and click Generate new private key.
  8. In the window that opens, click Generate key to generate and download a private key file.

For detailed information about operations in the Firebase console, please refer to its documentation.

You now have a Sender ID and a private key file to configure the Firebase Cloud Messaging settings.

If the Firebase Cloud Messaging settings are not defined, commands on the mobile device and policy settings will be delivered when the device is synchronized with Kaspersky Security Center, according to the schedule set in the policy (for example, every 24 hours). In other words, commands and policy settings will be delivered with a delay.

For the purposes of supporting the main functionality of the product, you agree to automatically provide the Firebase Cloud Messaging service with the unique ID of the app installation (Instance ID), and the following data:

  • Information about the installed software: app version, app ID, app build version, app package name.
  • Information about the computer on which the software is installed: OS version, device ID, version of Google services.
  • Information about FCM: app ID in FCM, FCM user ID, protocol version.

Data is transmitted to Firebase services over a secure connection. Access to and protection of information is regulated by the relevant terms of use of the Firebase services: Firebase Data Processing and Security Terms, Privacy and Security in Firebase.

To prevent the exchange of information with the Firebase Cloud Messaging service:

  1. In the main window of Kaspersky Security Center Web Console or Cloud Console, select Devices > Mobile > Android devices synchronization.

    The Android devices synchronization window opens.

  2. Click Reset.
  3. In the window that opens, click the OK button to confirm resetting.

The Firebase Cloud Messaging settings are cleared.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.