handleNotification
Internal method that handles notification open events.
This is a final method called by the SDK when a user taps on a notification. It processes the notification open event and delegates to onMessageOpened and startActivityForPushMessage for custom handling.
You should override onMessageOpened or startActivityForPushMessage instead of calling this method directly.
The method performs the following:
- Processes URLs and deep links if preHandleNotificationsWithUrl returns true
- Sets the notification as launch notification in the SDK
- Calls startActivityForPushMessage to launch the appropriate activity
- Sends push statistics to Pushwoosh
- Calls onMessageOpened callback
Parameters
pushBundle
push notification payload as Bundle containing all notification data