Ionic browser add crosswalk-lite does`nt works


#1

When I use cordova, it’s work but the size of APK is not like crosswalk-lite. It seems ionic build with crosswalk although I use crosswalk-lite. Below is what I do:

ionic browser add crosswalk
ionic build android  # <-- generate APK with size 26 MB
ionic  run android # <-- generate APK with size 26 MB

but when

ionic browse revert android
ionic browser add crosswalk-lite
ionic build android   # <-- still generate APK with size 26 MB
ionic  run android # <-- still generate APK with size 26 MB

And:

ionic info

Cordova CLI: 5.0.0
Gulp version:  CLI version 3.9.0
Gulp local:  
Ionic CLI Version: 1.5.0
Ionic App Lib Version: 0.1.0
ios-deploy version: Not installed
ios-sim version: 3.1.1 
OS: Mac OS X Yosemite
Node Version: v0.12.4
Xcode version: Xcode 6.3.2 Build version 6D2105

#2

maybe it can help https://github.com/driftyco/ionic-cli/issues/363


#3

I have tried it. Crosswalk Lite size still the same of Crosswalk default. ionic cli or cordova cli dont produce the LITE thing.


#4

agreed. I use ionic cli 1.5.0 and apk size still ~22MB.
I starting with tabs template, and adding crosswalk-lite, and build it.
The apk size ~22MB and ~50MB after installed.


#5

The browser.js of ionic cli 1.5.0 is ignoring version parameter If you are cordova 5.0.x installed. ( https://github.com/driftyco/ionic-app-lib/blob/master/lib/browser.js#L453 )

Workaround: just comment L453.

This will install correct version of crosswalk. But, I tried crosswalk-lite, it’s still over 20MB. I don’t know why ┐(´д`)┌


#6

I’d love to see an option to reduce android size.
My app is 5MB for iOS and 25MB for Android due to crosswalk
If I don’t bundle crosswalk, performance is horrible in Android


#7

No news from here. Wish Ionic Team take a look on this issue


#8

Cordova plugin Crosswalk Lite 15 is OUT!
And it should be compatible with latest Cordova
https://download.01.org/crosswalk/releases/crosswalk-lite/android/canary/15.44.385.7/

Seems to weight 14M (20M for regular Crosswalk).
Give it a try!


#9

Very good. May you help us to use it with IONIC CLI?


#10

+1
Please, Ionic Team, update CLI to allow building with Crosswalk-Lite 15 !!!


#11

When crosswalk-lite will be fixed? It doesn’t reduce the size of the android apk.


#12

Is there anything new on this issue?, ionic it’s an amazing tool and I would like to use crosswalk-lite in my applications.


#13

Anything new? I am facing the same problem here.