on 03-20-2019 6:07 AM
Hi all,
I am working with SAP mobile service and FCM to push notification to Android devices.
I have tried two payloads, one is with "sound" and the other is not.
{"alert": "hello world", "sound": "default"}
{"alert": "hello world"}
Then, I have received two notifications, the one with "sound" setting is in black line block, which is not correct.
The one in red line block is correct, it's from the notification payload without setting "sound".
My question is does parameter "sound" matter?
Anyone helps?
It would return with a code 400, I think it is because of the wrong format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try sending the payload with the following body
{
"alert": "TravelAgencies",
"data": "{\"message\": \"Notification to all devices registered to application\", \"sound\": \"default\"}"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.