parse.com - iOS push notifications not showing up through Parse local server -


i'm doing whatever can send ios push notifications react-native app , app display notifications.

i've been trying figure out months.

i have local parse server running following config:

{     "appid": "org.reactjs.native.example.reactzeronotifications",     "masterkey": "masterkey",     "databaseuri": "mongodb://localhost/test",     "push": {         "ios": [           {             "pfx": "reactnotification-dev.p12",             "bundleid": "org.reactjs.native.example.reactzeronotifications",             "passphrase": "*",             "production": false           },           {             "pfx": "reactnotification-prod.p12",             "bundleid": "org.reactjs.native.example.reactzeronotifications",             "passphrase": "*",             "production": true           }         ]     } } 

i send post request http://localhost:1337/parse/push following headers:

x-parse-application-id: org.reactjs.native.example.reactzeronotifications x-parse-master-key: masterkey 

and following raw json data:

{"where": {"devicetype": "ios"},"data":{"alert": "hello notifications!!"}} 

meanwhile have react-native app running pushnotification linked library , receive register event token.

however, notification event never goes off , never see notification @ top of iphone i'm trying accomplish.

(note: want see notification on react-native app... no matter how accomplished, feel if figure out rest if can work once)

as per recommendation turned on verbose on parse server , received following after posting:

verbose: sending push 0 installations verbose: sent push! 0 success, 0 failures 


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -