Notification Interactions
Handling all notification Interactions
class MyBroadcastReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
when (intent.action) {
"com.bird.broadcast.NOTIFICATION" -> handleNotificationInteractionIntent(
context,
intent
)
}
}
private fun handleNotificationInteractionIntent(context: Context, intent: Intent) {
val bird = Bird(context)
val notificationInteraction = bird.notifications.getNotificationInteraction(intent)
}
}
Deep Links
Custom Payload
Last updated
Was this helpful?

