Cordova, why would InAppBrowser plugin be required to open links in system browser

So I’m answering my own question with what I’ve found out. Note I’m only dealing with iOS and Android (with Crosswalk plugin) on Cordova 5.1.1, and it may not apply to other platforms/versions. InAppBrowser is required Even if you don’t need an embedded browser, InAppBrowser plugin is required. This makes the _system target available that … 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: http://cordova.apache.org/docs/en/3.3.0/config_ref_index.md.html I think you have to create a plugin, because they can insert plist entries: http://docs.phonegap.com/en/3.3.0/plugin_ref_spec.md.html#Plugin%20Specification See the ‘config-file element’ section. Here’s a guess as to what the relevant section of the … Read more

How to use Google Analytics with Phonegap without a plugin?

Check out the video to see it in action: http://screencast.com/t/6vkWlZOp After some research, I found a solution. I came across this thread on the Phonegap Google Group: https://groups.google.com/forum/#!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

“No Content-Security-Policy meta tag found.” error in my phonegap application

After adding the cordova-plugin-whitelist, you must tell your application to allow access all the web-page links or specific links, if you want to keep it specific. You can simply add this to your config.xml, which can be found in your application’s root directory: Recommended in the documentation: <allow-navigation href=”http://example.com/*” /> or: <allow-navigation href=”http://*/*” /> From … Read more