Description
I'm using Parse Server latest version to send push notification to my iOS device,
It is working fine when the push is sent from Parse-Dashboard but sending from Postman will never get any push.
Here my Postman configuration,
{
"where": {
"deviceType": {
"$in": [
"ios","android"
]
}
},
"data": {
"title": "test title",
"alert": "test alert",
"sound": "default",
"type": "story"
}
}
Here my Parse-Server logs
verbose: REQUEST for [POST] /parse/push: { "where": { "deviceType": { "$in": [ "ios", "android" ] } }, "data": { "title": "test title", "alert": "test alert", "sound": "default", "type": "story" } } method=POST, url=/parse/push, connection=upgrade, host=myserver.com, content-length=317, postman-token=9eb222b3-2086-782e-3ad8-50814c9b0505, cache-control=no-cache, origin=chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop, x-parse-application-id=MyAppID, x-parse-master-key=ABCD, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36, content-type=application/json, accept=*/*, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.8, $in=[ios, android], title=test title, alert=test alert, sound=default, type=story verbose: RESPONSE from [POST] /parse/push: { "headers": { "X-Parse-Push-Status-Id": "2f2F2rgyxi" }, "response": { "result": true } } X-Parse-Push-Status-Id=2f2F2rgyxi, result=true verbose: _PushStatus 2f2F2rgyxi: sending push to 1 installations
Thanks for your help