CORS and phonegap apps

PhoneGap you can just XHR directly to remote servers and it should “just work”. Cross-domain policy does not apply to PhoneGap (for a variety of reasons, basically because your app is essentially running off the file:// URI on-device). Please be aware that you will have to set up a whitelist for your apps to access … Read more

How to use Google Analytics with Phonegap without a plugin?

Check out the video to see it in action: After some research, I found a solution. I came across this thread on the Phonegap Google Group:!msg/phonegap/uqYjTmd4w_E/YD1QPmLSxf4J (thanks TimW and Dan Levine!) In this thread I found that it is possible to use Google Analytics without a plugin. All you have to do is … Read more

Add entry to iOS .plist file via Cordova config.xml

I don’t think you can do this via straight config.xml modification. At least, I didn’t see any mention of this in the docs: I think you have to create a plugin, because they can insert plist entries: See the ‘config-file element’ section. Here’s a guess as to what the relevant section of the … Read more

Cordova 3.5.0 Install Error- Please Install Android Target 19

Android SDK is not your target Android version. Target Android version 19 is the API level for android Kitkat.So in you SDK manager check if you have Android 4.4.2(API 19) installed. If you want your target API version to be different then change it in ANdroidManifest.xml <uses-sdk android:minSdkVersion=”16″ android:targetSdkVersion=”18″ /> Edit these lines. Here android:targetSdkVersion … Read more

Is there a difference between PhoneGap and Cordova commands? I think this url explains what you need. Phonegap is built on Apache Cordova nothing else. You can think of Apache Cordova as the engine that powers PhoneGap. Over time, the PhoneGap distribution may contain additional tools and thats why they differ in command But they do same thing. EDIT: Extra info added as … Read more