MoEPushHelper
Helper class for push related hooks.
Author
Umang Chamaria
Types
Functions
isFromMoEngagePlatform
Link copied to clipboard
Checks whether the FCM message was being delivered from the MoEngage Platform or not
isSilentPush
Link copied to clipboard
logNotificationClick
Link copied to clipboard
Track notification click. Make sure the intent has the push notification payload received Firebase as intent extras.
Note: Generally this method is not required. Only call this API if you are not passing the payload to MoEngage SDK. Call this method from the onCreate() of your intent which is fired on notification click.
logNotificationReceived
Link copied to clipboard
fun logNotificationReceived(context: Context, notificationPayload: Map<String, String>)
Content copied to clipboard
Tracks notification impression.
Note: Generally this method is not required. Only call this API if you are not passing the payload to MoEngage SDK. Call this method from onMessageReceived() of your Firebase Receiver.
Properties
messageListener
Link copied to clipboard