Firebase (Notification Service)
Make sure that you’ve implemented Firebase Cloud Messaging SDK according to this instruction.
Pay your attention and implement the first three paragraphs of this part of the instruction (in case you disable the method swizzling, the paragraph about disabled method swizzling is also mandatory).
Make sure that the app resolves images in push notifications.
Amplitude (Integrate Analytics)
There are 2 ways to send a
push_token
to Amplitude: viaevent + event_property
, or viauser_property
:[Recommended]. Implement setting a user_property
push_token
using the identify methodImplement sending event
push_token
with custom event propertypush_token
in Amplitude.
We strongly recommend triggering the
push_token
event logging on EVERY app startNOTE. In case you use Firebase Push SDK, make sure that you send Firebase
registration id
(which is also referred to asfcmToken
in code examples). Do not confuse it with the APNS push token. The one we need looks like this:fVB5-GsfONYTmjsOX6POeS:APA91bGOokpBTI_aAO_JybIMfJ8WCPX_77EWVqzOlmsTm6GaUngqRf-hu_ZMXS9JptSOqBJ0YxOGIhnUwZAetYELraJkvzGOJxQCksefcJLsg_1zPi7LYKWqfQ35qLc2CNwb6TFddGv9