May I ask what kinda of JSON we need to give for testing Android device.
I've tried:
{ "message":{ "token":"<my_device_token>", "notification":{ "title":"Portugal vs. Denmark", "body":"great match!" } } }
and some other simple ones, all return to me "Failed: Bad Request", but I could confirm my server key and device token are valid since I was able to sent from other online push notification tester.
Hi,
May I ask what kinda of JSON we need to give for testing Android device.
I've tried:
{ "message":{ "token":"<my_device_token>", "notification":{ "title":"Portugal vs. Denmark", "body":"great match!" } } }
and some other simple ones, all return to me "Failed: Bad Request", but I could confirm my server key and device token are valid since I was able to sent from other online push notification tester.Thanks.