-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write listener for initial system notifications
Modify Notification.addListener('press', ...) to only register an on click listener. To determine if the application was initially opened (not in background) via a notification click create a new listener Notification.addListener('initial',...) to handle this event. Add a new callback to addListener which is called if the app is loaded by the user and not by clicking a notification
- Loading branch information
Showing
2 changed files
with
67 additions
and
38 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