-
Notifications
You must be signed in to change notification settings - Fork 364
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
APNS alerts with content_available not displayed #659
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
APNS messages containaing both alert and
content-available
are not being rendered on devicesTo Reproduce
Steps to reproduce the behavior:
content-available
set to 1.If
content-available
is not set, it will work fine.Expected behavior
Message should be displayed.
Logs and other output
Not applicable
System configuration (please complete the following information):
Additional context
The problem is this part of code, where the push type is explicitly set to
background
whencontent-available
is set:It should not be set to background if alert is present.
The text was updated successfully, but these errors were encountered: