Push Push Go
Properties
Functions
function to construct and send beacon
function to register subscriber and returns future with subscriber id
Returns the list of currently active live activities. Returns empty list on API < 36.
function returns custom flags from shared contexts for click intent
Returns the persisted LA subscriber id for a live notification, or empty string if this device is not subscribed to it.
function to retrieve PPGo notification details
function to read Your API Key from an PushPushGo library instance
function to retrieve last push token used to subscribe that
function to read Your subscriber id from an PushPushGo library instance
helper function to handle click on notification from background
Handles a Live Activity notification click from the background.
Checks whether Live Activities are supported on this device. Requires API 36+ (Android 16) for ProgressStyle notifications.
Checks whether a specific live activity is currently active. Returns false on API < 36.
function to check whether the given notification data belongs to the PPGo sender
function to check if user subscribed to notifications
function to re-subscribe to different project (previously unsubscribe from current project) WARNING: after resubscribe use object returned by this function instead of previous one
function to register subscriber
function set custom intent flags to shared preferences when push receives then check for this flags and add them in PendingIntent launcherActivity as flags
Simulates a Live Activity push for testing purposes. No-op on API < 36.
Subscribes this device to a backend live notification (Live Activity) so it starts receiving its push updates.
function to unregister subscriber
Unsubscribes this device from a backend live notification it previously subscribed to via subscribeToLiveActivity. No-op if the device is not subscribed to it.