Reputation: 261
I was just curious on how can I run my Ionic 2 project on Android Jellybean devices well. The application runs well in KitKat to Nougat OS devices but in Jellybean, It only shows white screen. Is there any way I can make my Ionic 2 project be compatible in Android 4.2 (Jellybean) devices? Thank you in advance.
Upvotes: 1
Views: 88
Reputation: 3128
You can use Crosswalk
Why should I use Crosswalk?
Older versions of Android devices (4.0-4.3) use Android’s default browser, which has significantly less performance and standards compliance than modern Chrome. Using Crosswalk gives you a specific and more performant version of Chrome to use on all Android devices, in order to reduce fluctuations and fragmentation among devices.
How does Crosswalk improve Cordova Android apps?
By designating a specific version of Chrome, you can skip the unexpected behavior from browsers that vary from device to device. Crosswalk also provides improved performance and ease of debugging.
What can I expect, performance and size-wise?
In older Android Devices (4.0-4.3), you’ll see about a 10x improvement of both HTML/CSS rendering and JavaScript performance and CSS correctness. To bundle Chrome, you will see a small (~10-15MB) size increase in your Android Apps.
More about Crosswalk https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview
Upvotes: 1