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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push notifications through FCM should not have required title and body #8307

Open
2 tasks done
MHEien opened this issue Jun 21, 2024 · 2 comments
Open
2 tasks done

Push notifications through FCM should not have required title and body #8307

MHEien opened this issue Jun 21, 2024 · 2 comments
Labels
enhancement New feature or request product / messaging Fixes and upgrades for the Appwrite Messaging.

Comments

@MHEien
Copy link

MHEien commented Jun 21, 2024

馃敄 Enhancement description

FCM does not require you to pass a title and body in push notifications, and nor should Appwrite.

馃帳 Pitch

Many apps benefit of data-only notifications, and it would be loevely for Appwrite to support this by removing this restriction.
In cases we would send status updates in a single notification, we could leverage this feature.

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@MHEien MHEien added the enhancement New feature or request label Jun 21, 2024
@stnguyen90 stnguyen90 added the product / messaging Fixes and upgrades for the Appwrite Messaging. label Jun 26, 2024
@stnguyen90
Copy link
Contributor

@MHEien, thanks for raising this issue! 馃檹馃徏 Can you expand more on the use-case for data-only notifications?

@ItzNotABug
Copy link
Contributor

@MHEien, thanks for raising this issue! 馃檹馃徏 Can you expand more on the use-case for data-only notifications?

This helps in performing any sort of update in the Apps after receiving data only messages. This doesn't bother the user to open the app as there's no notification. Assume a cache clearing task, fresh fetch task from API if its cached due to new content, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request product / messaging Fixes and upgrades for the Appwrite Messaging.
Projects
None yet
Development

No branches or pull requests

3 participants