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.