putMindboxPushButtonExtras

fun Intent.putMindboxPushButtonExtras(pushUniqKey: String, pushButtonKey: String?)

Adds Mindbox push button unique keys extras to the Intent.

This extension function adds both the unique push key and the unique push button key to the Intent extras. These extras are used by the Mindbox SDK to properly identify and handle push notification button clicks.

Note: If your push notification contains multiple buttons, you must call this method for each button with its corresponding unique button key and use intent into NotificationCompat.Builder.addAction

Parameters

pushUniqKey

the unique identifier for the push notification.

pushButtonKey

the unique identifier for the push button.