cordova-3

Google App Store Warning - You should upgrade to Apache Cordova 3.5.1 or higher as soon as possible

心不动则不痛 提交于 2019-12-03 15:33:59
问题 I have received an Email from Google Play Store for my Android App: This is a notification that your com.mydomain.myapp, is built on a version of Apache Cordova that contains security vulnerabilities. This includes a high severity cross-application scripting (XAS) vulnerability. Under certain circumstances, vulnerable apps could be remotely exploited to steal sensitive information, such as user login credentials. You should upgrade to Apache Cordova 3.5.1 or higher as soon as possible. For

Error in Phonegap Application: Uncaught module cordova/plugin_list already defined

旧时模样 提交于 2019-12-03 14:53:33
问题 I have been trying to resolve many issues from having updated from Phonegap 2 to Phonegap 3.3 but I can't seem to fix this one. I have read from some users that uncaught module exceptions can cause imported plugins to stop functioning. I am having some odd bugs with a local notification plugin so I would like to fix this issue and see if it helps. Here is the error as it appears in logcat within Eclipse: [INFO:CONSOLE(79)] "Uncaught module cordova/plugin_list already defined", source: file://

Custom CSS for Mobile development using Phonegap/Cordova

非 Y 不嫁゛ 提交于 2019-12-03 13:28:44
I´m planing to use Cordova v3 to develop a generic application to target mobile devices using HTML/CSS. Which is the best solution in order to reuse most of the html but having the visual style for each mobile platform? Which will be the best css/framework to use in this case (preferably free)? Thanks in advance. As you said "but having the visual style for each mobile platform?" I understand you are searching for a native look in the apps. the other answers are good frameworks however unless you want to spend time tweaking css they will not look similar to a native UI (visually). I have

Clean command for cordova/phonegap 3.5

元气小坏坏 提交于 2019-12-03 10:53:31
I am trying to clean my cordova 3.5 project. So i try to do as it says at the bottom of this page: http://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide $ /path/to/project/cordova/clean So i navigate to cordova directory in my project :~/Desktop/work/project/platforms/android/cordova$ cd clean bash: cd: clean: Not a directory :~/Desktop/work/3.5/10/project/platforms/android/cordova$ clean No command 'clean' found, did you mean: Command 'uclean' from package 'svn-buildpackage' (universe) Command 'pclean' from package 'pbuilder-scripts'

Can I install a previous version of a plugin using the cordova plugin add command?

百般思念 提交于 2019-12-03 08:08:44
问题 I am trying to rebuild a cordova project from scratch and creating documentation along the way. I would like to be able to install consistent versions of plugins to avoid having to retest new code for the time being. Is there a way to specify a previous version of a plugin similar to the way you can specify a previous version of cordova? For example, I am familiar with the following syntax to install a specific version of cordova: npm install -g cordova@3.1 And I'm able to install a plugin

Cordova CLI, using Git, and saving plugins/platforms

妖精的绣舞 提交于 2019-12-03 07:08:35
I'm trying to figure out how to reconcile some Cordova + git "best practices" with what I think is reality, and I'm hoping someone can shed some light on this for me. If I understand correctly, the current "best practice" is to add these directories to my .gitignore (from the book "Developing with Cordova CLI", the current version): platforms/ plugins/ node_modules/ This removes the easily downloadable plugins and mostly boilerplate platform code from version control because it can be easily generated with a simple Cordova CLI command. But, this seems counter-intuitive because - and I'm

Cordova Build - ignore files

一个人想着一个人 提交于 2019-12-03 06:16:24
When compiling a cordova application every single file in my /www folder gets copied to the assets/www folder(android) but I'd like to customize what files are copied. I use several pseudo languages like CoffeeScript, Jade or Stylus which are auto-compiled by my IDE and they shouldn't be shipped into the final application. With the help of this article , I found that you can create/edit the platform/android/ant.properties , and add the following line to it: aapt.ignore.assets=!*.map:!thumbs.db:!.git:.*:*~ With this line, any file or directory that matches one of these patterns will not be

In Cordova, how can I specify different package names for ios and android? [duplicate]

别等时光非礼了梦想. 提交于 2019-12-03 05:53:07
This question already has answers here : Cordova: Is it possible to have different app IDs for android and ios platforms? (2 answers) Due to legacy factors, the package names of my Android and iOS apps are different. Currently Cordova seems to be injecting the widget id attribute from config.xml into both when building. Is there no way to customize this? If I edit the AndroidManifest.xml directly, I expect it will get overwritten pretty soon. Thanks. This is now built into CLI (finally): In you your config.xml file- Example: <widget android-packageName="com.example.android" ios

Error in Phonegap Application: Uncaught module cordova/plugin_list already defined

早过忘川 提交于 2019-12-03 04:40:27
I have been trying to resolve many issues from having updated from Phonegap 2 to Phonegap 3.3 but I can't seem to fix this one. I have read from some users that uncaught module exceptions can cause imported plugins to stop functioning. I am having some odd bugs with a local notification plugin so I would like to fix this issue and see if it helps. Here is the error as it appears in logcat within Eclipse: [INFO:CONSOLE(79)] "Uncaught module cordova/plugin_list already defined", source: file:///android_asset/www/cordova.js (79) I know that this is some odd issue arising from the nature of

Can't install Cordova plugins from Git on CLI

寵の児 提交于 2019-12-02 18:47:14
I have been racking my brain on this for a while now. I am developing an Android app on Windows 7 in Cordova 3.4 and I can't get any of the non-core plugins to install (like Google Analytics , Social Share ). I know that I have plugman, node, git, cordova, and the CLI installed because when I type them into a command prompt I get back a valid response. The Android SDK is working, and I have updated all of these modules and tried re-installing. Here is the error I receive when I try to install a plugin that is not part of Cordova core: C:\Users\UserName\Desktop\hello>cordova plugin add https:/