@newuser wrote:
Hi everyone,
Iam working with ionic push notifications. I followed the ionic push notifications documention from http://docs.ionic.io/v1.0/docs/push-from-scratch.
After developing push notifications , when i run
curl -u 173a148e86cc9a715d6ec372203594412a9762f6e194af21: -H "Content-Type: application/json" -H "X-Ionic-Application-Id: a6dca9c8" https://push.ionic.io/api/v1/push -d '{"tokens":["DEVICE_TOKEN"],"notification":{"alert":"I come from planet Ion."}}'
then i got the response like
{"result":"queued","message_id":"86f366d8669911e59841ba11719e53ea"}
after that when i test the push notification status i am getting an error like
$ curl -u 173a148e86cc9a715d6ec372203594412a9762f6e194af21: -H "Content-Type: a
pplication/json" -H "X-Ionic-Application-Id: a6dca9c8" https://push.ionic.io/ap
i/v1/status/86f366d8669911e59841ba11719e53eaAnd then i got the response like
{"ios":{"sent":0,"failure_reason":"Push Error Code 302: See http://docs.ionic.io
/docs/push-error-codes for more info.","success":false},"status":"Failed","error
s":[],"app_id":"a6dca9c8","android":{"sent":0,"failure_reason":"","success":fals
e}}Here for android > failure_reason is empty. And in my android device nothing to get any push notifications. I am using Samsung Galaxy Grand 2 with android version 4.3(Jelly Bean)
can anyone guide me how to resolve this issue
Thanks
Posts: 1
Participants: 1