Cordova 推送插件 iOS 8 [英] Cordova Push Plugin iOS 8
本文介绍了Cordova 推送插件 iOS 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能与 PhoneGap Push Plugin 未注册相同的问题iOS 8 设备,但我确实收到一条错误消息.
Likely the same problem as PhoneGap Push Plugin Does Not Register iOS 8 Device but I do have an error message.
我已经检查了插件版本,我正在使用 iOS mods 获取新版本.
I have checked the plugin version and I am getting the new version with the iOS mods.
2014-09-26 15:50:54.070 Score My Selfies[401:89341] CDVPlugin class PushPlugin (pluginName: PushPlugin) does not exist.
2014-09-26 15:50:54.071 Score My Selfies[401:89341] ERROR: Plugin 'PushPlugin' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2014-09-26 15:50:54.072 Score My Selfies[401:89341] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
"PushPlugin599142626",
"PushPlugin",
"register",
[
{
"alert" : "true",
"ecb" : "onNotificationAPN",
"sound" : "true",
"badge" : "true"
}
]
我也多次卸载并重新安装插件.
I have also uninstalled and reinstalled the plugin several times.
推荐答案
我设法通过将 PushPlugin.m 添加到 Build Phases->Compile Sources 来解决这个问题.
I managed to fix this by adding PushPlugin.m to the Build Phases->Compile Sources.
不确定这是 Cordova 问题还是 Netbeans 问题.
Not sure if this was a Cordova issue or a Netbeans issue.
这篇关于Cordova 推送插件 iOS 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文