-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new notification settings, setSubscription, and postNotification
* Calling enableInAppAlertNotification with true will enable notifications to be displayed as alerts when one is received when the user is in your app. - On Android you can call enableNotificationsWhenActive with true to place notifications in the notification area instead. * Calling setSubscription with false will unsubscribe the user from receiving push notifications. * postNotification lets you create user to user notifications and schedule future notifications without have to make calls to the REST API yourself. * Added more logging to help debug issues. * Android devices now retry to subscribe to GCM for push notifications if it fails due to a connection issue. * Fixed Android bug where the notification opened callback would stop firing after the user exited your app by pressing the back button.
- Loading branch information
Showing
14 changed files
with
501 additions
and
43 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
Binary file not shown.
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
Oops, something went wrong.