Parse for Push(1)Documents Reading
REST API document for Sending Push
https://www.parse.com/docs/rest/guide
https://www.parse.com/docs/rest/guide#push-notifications
JS Guide Sending Message
https://www.parse.com/docs/js/guide#push-notifications
I like this client API to get the device token
https://github.com/raix/push
https://atmospherejs.com/raix/push
And this API for the server side
https://github.com/pjay/plush
It seems to me some overlap between Parse and Meteor. We do not have to use Parse for push notification.
We can also use Parse for schedule and push notification. We can use cordova to get the device token and then send it to Parse.com
curl -X POST \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"deviceType": "ios",
"deviceToken": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdad",
"channels": [
""
]
}' \
https://api.parse.com/1/installations
We can directly send push notification through Parse.com based on the objectId.
curl -X PUT \
-H "X-Parse-Application-Id: oEI3DHtrBBgNosZyyVXjMIe6yNlNyYj5xY4g5X7z" \
-H "X-Parse-REST-API-Key: 56eRw1D0RZG3GHuRbV3t2KWdsKkFKy2mkM6E9KkP" \
-H "Content-Type: application/json" \
-d '{
"user": {
"__type": "Pointer",
"className": "_User",
"objectId": "vmRZXZ1Dvo"
}
}' \
https://api.parse.com/1/installations/mrmBZvsErB
For parse, we have the benefit:
1 Do not need to deal with javaAPNS, GCM java client
2 We have schedule, delay sending message
3 We have the analytics for the Messages we send out
References:
https://www.parse.com/?
http://blog.csdn.net/lixiaodaoaaa/article/details/8694570
http://www.cnblogs.com/over140/archive/2013/06/12/3132496.html
http://hgx615.iteye.com/blog/1853858
http://www.iteye.com/topic/1129477
分享到:
相关推荐
parse-push-plugin, 在分析平台上,为 Cordova/Phonegap/ionic 推送通知插件 Parse.Push 插件Cordova/Phonegap/ionic.的Parse.Push 插件,用于宿主 Parse.com 和开放源码解析服务器。高光工作在 Parse.com 和解析...
查看更多日志您可以使用环境变量启用详细日志记录: VERBOSE=1orVERBOSE_PARSE_SERVER_PUSH_ADAPTER=1这将为所有推送发送尝试产生更详细的输出在解析服务器上使用自定义版本安装推送适配器 npm install --save @...
parse_push_demo 简单的Android应用程序,用于使用Parse进行推送通知演示 使用带有至少SDK 15,目标SDK 23,使用SDK 23的Eclipse Luna创建。从Parse.com接收推送通知->将数据保存到SQLite数据库->在ListView上显示
附件解决dbf读取文件时遇到乱码问题,下载下来可以直接使用,无需使用dbf的jar包了,可以直接使用.
If you are a developer who wants to build your applications instantly using Parse iOS as a back end application development, this book is ideal for you. This book will help you to understand Parse, ...
txt parse java file
XML_parse代码解析1
NULL 博文链接:https://eric-gao.iteye.com/blog/1885557
parse ok
编译原理实验需要的Parse Generator软件
Laravel开发-laravel-parse 用于Laravel应用程序的Parse SDK桥。
matlab开发-parse。这个m文件使用通配符从UNIX环境返回文件名。
ParseTree-ParseTree
parse-android-1.13.1.jar,parse-android-1.13.1-sources.jar
用于支持 Parse 推送通知服务的 Django 扩展。
[Packt Publishing] Parse 应用开发 (iOS SDK 实现) (英文版) [Packt Publishing] Application Development with Parse using iOS SDK (E-Book) ☆ 图书概要:☆ Develop the backend of your applications ...
Laravel开发-parse 一个雄辩的解析接口
编译器(scaner&parse),自己做的scaner和parser。
大多数网上下载的SQL parseJson函数都存在Bug,我也是下载应用到公司系统开发后才发现,无奈系统已经正式使用,硬着头皮改Bug,至少改了两处Bug,修改不易,希望大家体谅一下.
Is it possible to parse JSON in TSQL? I dont mean to create a JSON string, i mean to parse a json string passed in as a parameter.数据库parseJSON 转表