-
Notifications
You must be signed in to change notification settings - Fork 125
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
Sending of badge
causes Invalid JSON payload
#211
Comments
Looks like you're still using the deprecated GCM method for sending Android notifications. Have you tried setting Alternatively, if you want to continue using the deprecated GCM API, then you could wrap your fixed payload via |
@alex-friedl Hey 👋 As far as I can see, the new FCM implementation uses
The only option I've changed is |
I'm seeing the same issue. |
@multi @SingleMalted Does it work for you to wrap your payload in a |
@alex-friedl I'm using the v1 API and it's sent via |
@SingleMalted The line you referenced allows you to pass a custom payload as |
@alex-friedl Yes, that's what I'm currently doing. |
Still not clear how to set badge number with recent update both for apn and fcm? |
When
badge
is used, that's the response from FCMI've tried removing that line and it works, also there's a badge dot icon on the phone, so
notification_count
is sufficient for Android?The text was updated successfully, but these errors were encountered: