科尔多瓦3.3用户推送通知 [英] User push notifications in cordova 3.3

查看:142
本文介绍了科尔多瓦3.3用户推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用3.3科尔多瓦实现在Android的通知,我在这个新的。我曾尝试几个教程,但没有成功。能解释一个简单的方法来实现它一步一步?

I want to implement notifications in android using 3.3 cordova, I'm new at this. I have tried several tutorials but without success. Could explain a simple way to implement it step by step?

感谢您

推荐答案

这个插件是与科尔多瓦使用,可以让你的应用程序能够接收推送通知的Andr​​oid和iOS设备。而Android实现使用谷歌的GCM(谷歌云通讯)服务,而iOS版基于苹果<一href="https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html"相对=nofollow> APNS通知。

Cordova Push Notifications Plugin for Android, iOS and WP8

This plugin is for use with Cordova, and allows your application to receive push notifications on both Android and iOS devices. The Android implementation uses Google's GCM (Google Cloud Messaging) service, whereas the iOS version is based on Apple APNS Notifications.

按照给定的一步步

1) PushPlugin

1) PushPlugin

2)<一href="http://devgirl.org/2013/07/17/tutorial-implement-push-notifications-in-your-phonegap-application/"相对=nofollow>实施推送通知你的PhoneGap应用程序

2) Implement Push Notifications in your PhoneGap Application

注意: Dont't忘记添加cordova_plugin.js和PushNotification.js文件在你的页面

这篇关于科尔多瓦3.3用户推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆