Tag: 插件

cordova6.3.1在iOS 10和Xcode 8上

我正在开发cordova和iOS / Android很长一段时间,之前Xcode 8一切工作,并在Android仍然一切工作。 就在这个星座的iOS上,插件并不像预期的那样工作。 这意味着所有的插件在主页button被按下后首先开始反应。 这真的很奇怪。 以下是我使用的插件列表: com.cordova.plugins.sms 0.1.10“cordova短信插件” cordova-plugin-camera 2.3.0“相机” cordova-plugin-compat 1.0.0“Compat” cordova-plugin-contacts 2.2.0“联系人” cordova-plugin-device 1.1.3“设备” cordova-plugin-device-orientation 1.0.4“设备方向” cordova-plugin-file 4.3.0“文件” cordova-plugin-file-transfer 1.6.0“文件传输” cordova-plugin-geolocation 2.4.0“地理位置” cordova-plugin-inappbrowser 1.5.0“InAppBrowser” cordova-plugin-navigationbar 1.0.31“Cordova NavigationBar插件” cordova-plugin-statusbar 2.2.0“StatusBar” cordova-plugin-whitelist 1.3.0“白名单” 离子插件键盘2.2.1“键盘” phonegap-plugin-push 1.8.2“PushPlugin” 只是为了澄清,它从Xcode 5以来,没有一个单一的问题,我真的试过一切可能,我可以想像,例如删除所有插件分开,尝试不同版本od cordova,npm,节点(只是因为挫折)。 该问题发生在本地设备以及模拟器内部。 有没有人有任何build议呢? 我真的没有一个单一的想法了…. Thx玛尼

cordova3.1.0:找不到插件或不是CDVPlugin

我试图build立我的第一个cordova应用程序,我不能得到一个插件工作。 我的应用程序是使用Cordova命令行界面构build的,所以我已经用这种方式添加了Camera插件: cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git 我的config.xml如下所示: <?xml version='1.0' encoding='utf-8'?> <widget id="com.dev.myapp" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>My App</name> <description> A sample Apache Cordova application </description> <author email="dev@callback.apache.org" href="http://cordova.io"> Apache Cordova Team </author> <content src="index.html" /> <access origin="*" /> <preference name="fullscreen" value="true" /> <preference name="webviewbounce" value="true" /> <feature name="Camera"> <param name="ios-package" value="CDVCamera" /> </feature> </widget> 我已经运行cordova build […]

在phonegap 3.3.0本地通知

谢谢道森! 下面提到的问题已经在android中解决了。 但遗憾的是,当我在ios中构build项目时,这是行不通的,任何人都可以帮忙? 我将使用这个插件来build立一个android / ios应用程序与本地通知。 https://github.com/katzer/cordova-plugin-local-notifications/wiki 首先,我创build了一个phonegap项目 phonegap create notification 添加插件 cordova plugin add https://github.com/katzer/cordova-plugin-local-notifications.git 修改/www/config.xml <gap:plugin name="de.appplant.cordova.plugin.local-notification" /> 我将local-notification.js复制到/ www dir,并在index.html中引用它 <html> <head> <meta charset="utf-8" /> <meta name="format-detection" content="telephone=no" /> <!– WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 –> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" […]

IOS Safari支持插件?

我目前正在研究ipad IOS Safari。 考虑添加一些插件到应用程序。 但发现一些文章说IOS Safari不支持插件。 任何专家都知道这个陈述是真实的吗? 谢谢