make Pending Intent
Make a PendingIntent suitable for notifications from a given Intent. This is useful for custom receivers, or BatchNotificationInterceptor implementations.
Warning: it will override the intent's action with a unique name, to ensure that existing notifications are not updated with this PendingIntent's content. If you rely on a custom action, you will have to make your own PendingIntent.
Return
A PendingIntent instance, wrapping the given Intent.
Parameters
Context. Cannot be null.
The intent you want to be triggered when performing the pending intent. Must be an intent compatible with getActivity. 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 Intent. This is useful for custom receivers, or BatchNotificationInterceptor implementations.
Warning: it will override the intent's action with a unique name, to ensure that existing notifications are not updated with this PendingIntent's content. If you rely on a custom action, you will have to make your own PendingIntent.
Return
A PendingIntent instance, wrapping the given Intent.
Parameters
Context. Cannot be null.
The intent you want to be triggered when performing the pending intent. Must be an intent compatible with getActivity. Cannot be null.
Raw Firebase message, 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.