Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12865] [12868] Push Notification Fixes #99

Merged
merged 9 commits into from
May 3, 2017
Merged

Conversation

colemancda
Copy link
Contributor

This would prevent duplicate notification when notification received is a non silent notification.
App should handle both scenarios.
if its a silent notification and in background, issue local and cache.
if its a proper notification and in background, just cache.
The sending of a silent notification requires a special configuration of the notification’s payload. If your payload is not configured properly, the notification might be displayed to the user instead of being delivered to your app in the background. In your payload, make sure the following conditions are true:
The payload’s aps dictionary must include the content-available key with a value of 1.
The payload’s aps dictionary must not contain the alert, sound, or badge keys.

@colemancda colemancda merged commit 6d43454 into develop May 3, 2017
@colemancda colemancda deleted the feature/12865 branch May 3, 2017 05:44
@colemancda colemancda mentioned this pull request May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants