-
public class BatchPushHelperSet of helper methods shared between BatchPushNotificationPresenter and methods exposed to devs via the push module
-
-
Method Summary
Modifier and Type Method Description static synchronized booleancanDisplayPush(Context context, InternalPushData batchData)This method checks:- If this notification is for the current Install ID (if available)It used to do other stuff as in deduplicate notifications but that's been reworked. static BundlefirebaseMessageToReceiverBundle(@Nullable() RemoteMessage message)Convert a Firebase RemoteMessage to a bundle, for compatibility with all the methods that usedto deal with a BroadcastReceiver started by GCM -
-
Method Detail
-
canDisplayPush
static synchronized boolean canDisplayPush(Context context, InternalPushData batchData)
This method checks:- If this notification is for the current Install ID (if available)It used to do other stuff as in deduplicate notifications but that's been reworked.
-
firebaseMessageToReceiverBundle
@Nullable() static Bundle firebaseMessageToReceiverBundle(@Nullable() RemoteMessage message)
Convert a Firebase RemoteMessage to a bundle, for compatibility with all the methods that usedto deal with a BroadcastReceiver started by GCM
-
-
-
-