KlaviyoPushService
Implementation of the FCM messaging service that runs when the parent application is started This service handles all the interaction with FCM service that the SDK needs
If the parent application has their own FCM messaging service defined they need to ensure that the implementation details of this service are carried over into their own
Functions
Link copied to clipboard
open fun onKlaviyoCustomDataMessageReceived(customData: Map<String, String>, message: RemoteMessage)
Called when a Klaviyo push message containing custom key-value pairs is received.
Link copied to clipboard
Called when a standard Klaviyo push notification message is received.
Link copied to clipboard
This method is invoked from FCM SDK when a "notification" message is received while the app is in the foreground, and when a "data" message is received regardless of the app's status
Link copied to clipboard
Called when FCM SDK receives a newly registered token