Notifications

Notification management in AppKickstarter.

Send Local Notifications

val notifier = NotifierManager.getLocalNotifier()
val notificationId = notifier.notify("Title", "Body") 

Remove Local Notification

notifer.remove(notificationId) // Removes notification by Id  
notifier.removeAll() // Removes all notification

Push Nofications

Push notifications are setup in initFCM method in AppInitializer#initialize function.

Detecting notification click and get payload data

fun onPushNotification(title: String?, body: String?)
fun onNotificationClicked(data: PayloadData)

Last updated