Parse.com Send auto push notification on new data [closed]

夙愿已清 提交于 2019-12-13 09:56:21

问题


I have an App that synch data from parse. I have a class and object. When i added new data (row) i need that parse send auto push notification to all device that have the app installed. I try to read the doc but not but can figure out how to do it. Any help?


回答1:


As far as I understand from your explanation, you want to send push notification to all device when a new row is inserted. To do this, you can use Parse Cloud function and trigger this function when a new row is inserted. Another way (it is not clear from your explanation), you can use Parse Cloud afterSave function. When a new row is inserted to a class, afterSave function is triggered by Parse. So you can send Push notification in afterSave function. Hope this helps.

Regards.



来源:https://stackoverflow.com/questions/27511095/parse-com-send-auto-push-notification-on-new-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!