logNotificationReceived

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.

Since

9.8.02

Parameters

context

instance of Context

payload

Push Campaign Payload

Throws

if the SDK is not initialized.


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.

Since

12.0.00

Parameters

context

instance of Context

notificationPayload

Push Campaign Payload

appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.