handleCancelNotificationAction

Handles a request to cancel a push notification in the notification center. Called by BrazePushReceiver when a Braze cancel notification intent is received.

Any existing notification in the notification center with the integer Id specified in the "nid" field of the provided intent's extras is cancelled.

If no Id is found, the default Braze notification Id is used.

Parameters

context
intent

the cancel notification intent