Building combined armv7/x86 apk after Crosswalk integration in an Ionic project

Well I just changed my config.xml following property to false and it combined the build apk. from <preference name=”xwalkMultipleApk” value=”true”/> to <preference name=”xwalkMultipleApk” value=”false”/> My systems ionic info returns Your system information: Cordova CLI: 6.1.1 Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic CLI Version: 1.7.16 Ionic App Lib Version: 0.7.3 OS: … Read more

Cordova android emulation – Error: Cannot read property ‘semver’ of null

This is due using an emulator with an unstable Developer Preview API version. You probably have a device using API 27 (Android 8.1). Open your AVD, remove that device and re-run. It’s also useful to use –target <emulator_name> when launching the emulator if you have more than one. To get a list of available names … Read more

PhoneGap – android exit on backbutton

You need to wait for the device to be ready to add the event listener: document.addEventListener(“deviceready”, onDeviceReady, false); function onDeviceReady(){ document.addEventListener(“backbutton”, function(e){ if($‘#homepage’)){ e.preventDefault();; } else {; } }, false); }

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