Table of Contents |
---|
...
When Push Notification Module is enabled via RelatedDigital.setIsPushNotification()
, the token information is written to RMC servers. This token is saved as "anonymous". In order to match this token with a user, an identifier information for the user (KEY_ID or EMAIL) should be sent to RMC.
In order the data that you sent to be loaded to RMC panel correctly, you should use the same reference value (KEY_ID* veya E-Mail) that you use in your RMC account when sending data via mobile channel.
*KEY_ID: It is the ID that you use to make a user unique in your system like CRM id, userId, customerId, accountId.
...
Info |
---|
If you do not see a user match in RMC, please get in contact with RMC support team and ask to activate the FLAG of the related appKey. |
Push Notification Click Report and Directing
...
Push Message Content
Veri Tipi | Değişken | Açıklama |
---|---|---|
String | mediaUrl | Photo, video url |
String | altUrl | Alternate URL |
String | campaignId | Campaign ID |
String | pushId | Notification ID |
String | url | Campaign URL |
String | message | Notification Message |
String | title | Notification Title |
String | sound | Notification Sound |
PushType | pushType | Notification Type |
Map<String, String> | params | Custom Parameters |
Application Badge Count
The number of the notifications that come from Related Digital is shown on the application icon if the user chooses showing it as number. In order to clear this number when the application is opened, you should call clearBadgeCount() method as below:
Code Block |
---|
RelatedDigital.clearBadgeCount(context); |
Code Block |
---|
RelatedDigital.clearBadgeCount(context) |
Info |
---|
It is recommended to call the method above in onCreate() method of MainApplication and MainActivity classes so that when the application is opened the number gets cleared. Besides, it should be called in onNewIntent() method of the activity that the user will be directed to when he/she clicks on the notification. |
Extra Notes
EXTERNAL_STORAGE Permissions
...