简体   繁体   English

Phonegap和Parse.com推送通知android

[英]Phonegap and Parse.com Push Notifications android

I am creating an app using html,jquery,php and phone gap and i want to send push notification using parse.I don't know how to do that. 我正在使用html,jquery,php和phone gap创建一个应用程序,我想使用parse.I发送推式通知。我不知道该怎么做。 I have seen an example in SO But it is for ios. 我在SO中看到了一个示例 ,但这是针对ios的。 I need it for android. 我需要用于Android。 Will this work for android. 这会为Android工作。 Please help me. 请帮我。 Thank You. 谢谢。

Have a look at this answer I've just posted, I've just got the Android Parse PNs working: 看一下我刚刚发布的这个答案,我刚使Android Parse PNs正常工作:

How do I get Parse.com Push Notifications working in a Cordova/Phonegap Android app? 如何在Cordova / Phonegap Android应用程序中使用Parse.com推送通知?

That will help you get the app to recieve push notifications. 这将帮助您使该应用程序接收推送通知。 To trigger them from PHP you'll need to use the REST API or a Third Party PHP library: 要从PHP触发它们,您需要使用REST API或第三方PHP库:

https://parse.com/docs/rest https://parse.com/docs/rest

https://github.com/apotropaic/parse.com-php-library https://github.com/apotropaic/parse.com-php-library

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM