I have upgraded to cordova 5.2.0 and I’m also using crosswalk v14+ with the plugin.
I’m running my app on my Android phone and on my Android tablet and before the upgrade everything was working (I had to upgrade because I had some issues that have been resolved in new versions) now my app can connect to internet only in 2g/3g, when in wifi the connection does not work.
I tried to install
cordova-plugin-whitelist and to check that I have all permissions in my
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<access origin="*" /> <plugin name="cordova-plugin-whitelist" version="1" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" />
but it does not work.
Does anybody know why such a strange behavior? In 2g/3g everything works, in wifi nothing works.
I tried to debug my app and I ran:
Also when excecuting some AJAX calls I received: