yandexmobile / metrica-sample-android

Yandex AppMetrica SDK Sample for Android
50 stars 15 forks source link

How to parse remoteMessage.data in onMessageReceived? #56

Closed CoolMind closed 4 years ago

CoolMind commented 4 years ago

After setting push notification I send it and in onMessageReceived(remoteMessage: RemoteMessage) receive this:

{"a":"u=d5a80287-8226-465f-ae5f-74101fb49ce5","b":false,"c":"Доп. параметры","d":{"a":1588267480,"ab":1,"e":"Тест 😸","u":[],"g":"Тест 😺","w":"abc:\/\/def.ru\/g?h=7","m":{}}}

I see that additional settings are after c key and deep link parameters are after w. Where can I find a list of parameters?