Firebase (Notification Service)

  1. Make sure that you’ve implemented Firebase Cloud Messaging SDK according to this instruction.

  2. Pay your attention to the first two paragraphs of this part of the instruction. The third paragraph is optional.

Amplitude (Integrate Analytics)

  1. Implement sending events in Amplitude: you need to send a push_token event with an event property token, in which the device token from Firebase is passed.

    The event can be dispatched using the [onNewToken callback]( in the Firebase SDK.

    Alternatively, you can independently check if the token changes every time the application is applied, and send events if it changes.

Did this answer your question?