-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PushActionReceiver also uses the util method that trampoline activity uses to process the notification data it gets. It will be invoked and sent data only for those actionButtons with customAction where SDK is sure that openApp is false. In this case, Trampoline Activity will not be launched and the notification intent will be passed to IterablePushActionReceiver, to complete the background customActionHandling. Immutable flag removed from actionButton pending intent as test were failing and it seems like it needs mutable pending intents there. Noticeable change due to this: Customers could earlier add button with CustomAction with openApp -> False. It just prevented the SDK to open the homescreen. But their customActionHandler could always open the activity. Now this wont be allowed as the route it follows will be through a Broadcast Receiver and not through the trampoline Activity
- Loading branch information
1 parent
ce5e587
commit 4ec13b5
Showing
4 changed files
with
51 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters