SOS! Help! Quasar + Cordova how build to Android 4 and 5!
-
Hello.
I have a problem with build apk for Android 4.4 and 5.0. The app is being built but is not working. The screen is always white. I tried to downgrade the cordova versions. I tried reinstalled everything several times.
Please help who built apps for version 4 and 5
-
First use Quasar V1 not the V2 with Vue3 beta . That’s because vue3/quasar V2 does
not
and probably never will support ie11.Enable ie11 support
. If it runs on ie11 in SPA mode then itwill
run on the (non chrome) default webviews of Android 4/5.Also please do note that android V.4 & V.5 & V.7 are
end of life
so don’t expect any support. -
@dobbel Thank you very much, it worked.
Only all the styles fell off.
Can I ask you another question
How can I somehow separate styles or files with styles? -
@pachino-max said in SOS! Help! Quasar + Cordova how build to Android 4 and 5!:
Only all the styles fell off.
You mean the default Quasar styles? Really? Has never happened to me…
How can I somehow separate styles or files with styles?
You can put style in a vue component itself with
scoped
property. That will make sure the style only affects it’s own component.//foo.vue <style scoped> ...css only effecting this component </style>
You put your global custom styles in
src/css/app.sass
-
@dobbel
I mean how to set styles for 4.4 separately?
For other versions separately?
Or just make styles on the screens? -
@pachino-max said in SOS! Help! Quasar + Cordova how build to Android 4 and 5!:
I mean how to set styles for 4.4 separately?
You mean a different style if your app runs on android 4.4 instead of android 8/9/10?
Never seen anyone do that. But I guess you could do that with this:
https://quasar.dev/options/platform-detection#Introduction