make Pending Intent For Deeplink
Make a PendingIntent suitable for notifications from a given deeplink. It will use Batch's builtin action activity.
This is useful for custom receivers, or BatchNotificationInterceptor implementations.
Return
A PendingIntent set to open Batch's builtin action activity to open the specified deeplink. Can be null if the deeplink is not valid.
Parameters
Context. Cannot be null.
Deeplink string. Cannot be null.
Raw extras of the push intent, used to copy data used by Batch to power features such as direct opens, or mobile landings. Cannot be null. If these extras don't have valid Batch data in it, a valid PendingIntent will still be returned, but some features might not work correctly.
Make a PendingIntent suitable for notifications from a given deeplink. It will use Batch's builtin action activity.
This is useful for custom receivers, or BatchNotificationInterceptor implementations.
Return
A PendingIntent set to open Batch's builtin action activity to open the specified deeplink. Can be null if the deeplink is not valid.
Parameters
Context. Cannot be null.
Deeplink string. Cannot be null.
Raw Firebase message content, used to copy data used by Batch to power features such as direct opens, or mobile landings. Cannot be null. If these extras don't have valid Batch data in it, a valid PendingIntent will still be returned, but some features might not work correctly.