NotifyManager

Manager for Notify operations

Functions

Link copied to clipboard
fun clear(callback: (SdkError?) -> Unit)

Notify V1 method for clearing notifications.

Link copied to clipboard
fun configure(context: Context)

Configure and initialize the Notify module.

Link copied to clipboard
fun createForSites(sites: List<Site>, notificationInfo: NotificationInfo, callback: (SdkError?) -> Unit)

Notify V1 method for creating notifications for sites using the provided notificationInfo.

Link copied to clipboard
fun createForSitesInRegion(region: CircularRegion, notificationInfo: NotificationInfo, callback: (List<Site>?, SdkError?) -> Unit)

Notify V1 method for creating notifications for sites within a region using the provided notificationInfo.

Link copied to clipboard
Link copied to clipboard

Notify V1 method for checking if an intent is from a Notify notification.

Link copied to clipboard

Call whenever location or bluetooth permissions change.

Link copied to clipboard
fun sync(force: Boolean = false, callback: (SdkError?) -> Unit? = null)

Sync Notify campaign data.

Link copied to clipboard

Set custom template content use for string interpolation for Notify notifications. Any keys added to this dictionary may be used for string interpolation by using {{ app.key | default: 'default value' }} in the Notify campaign content in the Flybuy portal. Call this method whenever the custom app content changes.