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

[Bug]: Can't receive notification if body message is empty #813

Closed
1 task
caini1213 opened this issue Jan 4, 2024 · 1 comment
Closed
1 task

[Bug]: Can't receive notification if body message is empty #813

caini1213 opened this issue Jan 4, 2024 · 1 comment

Comments

@caini1213
Copy link

caini1213 commented Jan 4, 2024

How can we help?

I was trying to send out a notification with empty body (project required), but it does not receive in devices although it is shown delivered successfully in OneSignal. Once I write some message in body then my device can receive it.

Does anyone facing this before? thank you

Code of Conduct

  • I agree to follow this project's Code of Conduct
@caini1213 caini1213 changed the title [question]: Can't receive notification if body message is empty [bug]: Can't receive notification if body message is empty Jan 4, 2024
@caini1213 caini1213 changed the title [bug]: Can't receive notification if body message is empty [Bug]: Can't receive notification if body message is empty Jan 4, 2024
@jkasten2
Copy link
Member

@caini1213 This is a known limitation of iOS, the notification must include a body to display. OneSignal also made this a requirement for Android, so the behavior matches iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants