NotifierManager
Deprecated
NotifierManager is replaced by KMPNotifier with pluggable extensions (LocalNotifications, FirebasePush). See MIGRATION.md. Removal planned for 3.0.0.
Replace with
import com.mmk.kmpnotifier.KMPNotifier
KMPNotifierDeprecated 1.x entry point of KMPNotifier.
It keeps working and forwards to the new modular API. Migrate to com.mmk.kmpnotifier.KMPNotifier with the LocalNotifications (kmpnotifier-local) and FirebasePush (kmpnotifier-push-firebase) extensions — see MIGRATION.md. Removal is planned for 3.0.0.
Types
Functions
For listening updates such as push notification token changes. This will add new listener to listener list.
Creates local Notifier instance
Returns permission util that can be used to check and ask notification permission However in Android you need to use in Activity like below:
Creates push Notifier instance (Firebase Push Notification)
Call initialize function on Application Start.
In order to receive notification data payload this functions needs to be called in ios Swift side application didReceiveRemoteNotification function
In order to receive notification data payload this functions needs to be called in Android side in launcher Activity #onCreate and #onNewIntent methods.
For listening updates such as push notification token changes. This will set one listener only. You can set null to remove listener.