plugman

Class not found for plugin installed by plugman

泪湿孤枕 提交于 2020-01-07 04:51:28
问题 I have added a plugin to my cordova application using the following command plugman install --platform android --project ./platforms/android --plugin https://github.com/zendrive/zendrive-sdk-phonegap-plugin.git But, if I run cordova run android --device The config.xml file of android project automatically changes to remove the zendrive-sdk-phonegap-plugin and I receive "class not found" error when using the plugin api from code. NOTE: The apk generated by phonegap cloud build has the same

Plugman framework skips Mac OS X symbolic links

社会主义新天地 提交于 2019-12-24 12:37:23
问题 I'm working on this plugin: com.ios.libgoogleadmobads, which is a helper plugin for https://github.com/appfeel/admob-google-cordova (com.admob.google cordova admob plugin) As you can see here: https://github.com/appfeel/google-iosadmobads/tree/master/src/ios/GoogleMobileAds.framework there are two symbolic lynks. When I try to install the plugin: cordova plugin add com.ios.libgoogleadmobads The links are skipped. Any workaround/solution please? UPDATE As a workaround I've added a hook to

Installing a PhoneGap plugin: BarcodeScanner

自古美人都是妖i 提交于 2019-12-24 11:50:13
问题 I want to install the BarcodeScanner plugin in a PhoneGap project. I've read the Readme within the repository and it says that it must be installed with PlugMan like so: Install a plugin ---------------- $ plugman install --platform <platform> --project <directory> --plugin <plugin> [--variable NAME=VALUE] Parameters: - platform <platform>: One of android, ios, blackberry10, wp7 or wp8 - project <directory>: Path reference to a cordova-generated project of the platform you specify - plugin

Ionic Plugin Creation Using Plugman

不羁岁月 提交于 2019-12-11 02:53:00
问题 I'm new to Ionic and Cordova. I need to create a plugin for ionic using Cordova and integrate it in sample ionic app. Steps I Followed are: Created a simple ionic plugin using plugman plugman create --name SayHello --plugin_id cordova-plugin-sayhello -plugin_version 0.0.1 Added android platform to above plugin. cd SayHello/ && plugman platform add --platform_name android Now I want to integrate this plugin into my ionic app. ionic cordova plugin add ../SayHello In my ionic app inside Home.ts,

Cordova 3.5, how to update local plugin?

社会主义新天地 提交于 2019-12-10 16:27:47
问题 I just created my first Cordova plugin and i would like to ask how can i reflect changes in files located in: /app/plugins/org.cool.plugin I changed content of plugin.xml file and I added some code in Java class. After that i run cordova build android command but changes are not available in platforms/android/src/... I would like to ask how can i force rebuild plugin, instead of the manual copy of files? Many thanks for any help. 来源: https://stackoverflow.com/questions/25995454/cordova-3-5

windows phone使用cordova(phoneGap)开发(笔记)

走远了吗. 提交于 2019-12-05 20:04:26
使用cordova开发windows phone应用程序,先安装windows phone SDK。7或者8 下载cordova包: http://cordova.apache.org/ 解压,执行一下 createTemplates.bat 将生成的cordovaXXX.zip压缩包放入visual studio项目模板中: 启动vs,创建cordova项目。 安装cordova插件。安装插件需要先安装node.js和npm ,去node.js下载,并安装。 使用npm安装plugman: npm install -g plugman cd 到项目所在的目录,注意,是包含了.csproj文件的目录: cd "C:\Users\Administrator\Documents\Visual Studio 2010\Projects\Cordova\Cordova" plugman安装插件: C:\Users\Administrator\Documents\Visual Studio 2010\Projects\Cordova\Cordova> plugman install --plugin org.apache.cordova.file --project ./ --platform wp7 完成。 注意: 不要使用cordova的全局命令。那样总会出现乱码的错误

How to install “cordova-plugin-whitelist” from command line

雨燕双飞 提交于 2019-12-02 05:34:43
问题 I am following Phonegap official tutorial. I have downloaded Phonegap android base project and now I am trying to add plugins to "Hello World" app but it's throwing below error Command line error: D:\cordova-android-master\bin\HybridAndroidApp>plugman install --platform android --project . -- plugin cordova-plugin-device Installing "cordova-plugin-device" for android ANDROID_HOME=C:\Users\admin\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101\ Failed to install 'cordova

How to install “cordova-plugin-whitelist” from command line

与世无争的帅哥 提交于 2019-12-02 02:21:52
I am following Phonegap official tutorial . I have downloaded Phonegap android base project and now I am trying to add plugins to "Hello World" app but it's throwing below error Command line error: D:\cordova-android-master\bin\HybridAndroidApp>plugman install --platform android --project . -- plugin cordova-plugin-device Installing "cordova-plugin-device" for android ANDROID_HOME=C:\Users\admin\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101\ Failed to install 'cordova-plugin-device':CordovaError: Requirements check failed for JDK 1.8 or greater at D:\cordova-android