cordova/ionic app crashes after startup on older versions of android -


the app runs fine on ios , android 4.4+ , lollipop. on older android versions (e.g 4.1.1) app crashes directly after start it.

full stacktrace logcat stack trace on such tablet (not sure piece had copy) here link

the exception rather vague.

thank you!

android 4.4+ use chromium default browser, while version below use android-browser. weaker browser. if app runs in ios or android-4.4, reason.

one work around use crosswalk intel. cordova-crosswalk. read more.

basically wraps app in chromium browser, , package android app. when app run, run chromium first( instead of android-browser) , code inside of it. noticable cons 15-20mb app filesize.

  • to migrate cordova crosswalk cordova. read more.

in recent update, seems there new command migrate app automatically. did previously, manual migration (by copy paste).

> few tips if manually: > 1. create new crosswalk project cli > 2. copy files in **www folder in cordova** **www folder in crosswalk** >        excluding 1 file : config.xml  > 3. install plugin manually. read more: http://goo.gl/wf4cmd. > 4. in crosswalk,set config.xml manually.   

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -