google chrome app - How to use cca with standard webview? -
currently cca build android produce 2 apk's x86 , arm (reflecting 2 versions of crosswalk).
i create third uses default webview, i.e., target api 19+ has chromium.
how go this? should start?
my first brutish instinct clone whole project , package cordova. voice in head wrong.
to opt out of crosswalk webview simple, add "webview": "system" manifest.mobile.json.
you can read more details in our using crosswalk in chrome apps mobile document.
you want set "minsdkversion" cordova config.xml preference build, system webview not used pre-kitkat. actually, may want use crosswalk on kitkat, , system webview on android-l (21+), you.
the combined flow use is: leave "webview": "system" off, , set "minsdkversion" 14 (ics). run cca build android --release, copy out 2 apks. finally, switch system webview , set min sdk 19/21, , copy out third apk. upload of play store , test!
this isn't needed during development time, doing releases. not best flow, easy create scripts automate process.
Comments
Post a Comment