logNotificationClick

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.

Since

9.8.02

Parameters

context

instance of Context

intent

instance of Intent

Throws

if the SDK is not initialized.


Track notification click. Make sure the bundle has the push notification payload received from Firebase.

Note: Generally this method is not required. Only call this API if you are not passing the payload to MoEngage SDK.

Since

12.5.03

Parameters

context

instance of Context

payload

push payload, instance of Bundle

Throws

if the SDK is not initialized.