As per the requirement of the enterprise, I had to use oboe.js to capture live responses using HTTP protocols. Therefore, I wrote the below oboe.js which worked fine in the web browser and Android, iOS emulators, but when I tested the same code in the real android device using Ionic, it does not fetch any response.
Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android Look at the console and network tabs for errors.
And you are not getting any errors, just “does not run”? This is almost never true.
Post your ionic info please.
Maybe create a blank project (ionic start oboe blank), implement a minimal example of the call you have and put it on Github so we can reproduce.
Be aware that crosswalk adds a lot of stuff (file size, code) to your app that you might not want. Also it is not really supported any more, so if you can find another solution, this will always be better.
Your cordova-android version (Cordova platform)? Yeah, doesn’t hurt, but shouldn’t be the problem here. Try it - remove the platform and add it back.
Then you need Crosswalk as Android <4.3 doesn’t really have the features needed to run Ionic apps by default. I don’t know if this applies to Ionic v1 as well, but most probably to Oboe.js.
Could you test with a newer Android version to confirm this is the problem?