简体   繁体   English

如何在IOS中安装phonegap-plugin-push

[英]How to install phonegap-plugin-push in IOS

I am new in IOS push notification, I try to install phonegap-plugin-push in my IOS app but it send error "required sender id". 我是IOS推送通知的新手,我尝试在我的IOS应用程序中安装phonegap-plugin-push但它发送错误“必需的发件人ID”。 I am little bit confuse that in sender ID what I put there. 我有点混淆在发件人ID我放在那里。

Platform: IOS Cordova CLI version: 5.1.1 cordova plugin version | 平台:IOS Cordova CLI版本:5.1.1 cordova插件版本| grep phonegap-plugin-push :1.7.4 grep phonegap-plugin-push:1.7.4

Use following command 使用以下命令

cordova plugin add https://github.com/phonegap/phonegap-plugin-push --variable SENDER_ID="12345" cordova插件添加https://github.com/phonegap/phonegap-plugin-push --variable SENDER_ID =“12345”

It worked for me on iOS.Hope it helps :) 它在iOS上对我有用。希望它有帮助:)

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

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