android-js / androidjs

Platform to build android app using node js
MIT License
466 stars 109 forks source link

display: grid; #300

Open Giftykik opened 1 year ago

Giftykik commented 1 year ago

the apk app cant show grid that i made in my CSS.

in my html i use div id="myid" in css

myid{

display: grid; } in browser firefox all work on android i got nothing

can you please help me with this problem

ftk789 commented 1 year ago

Did you link the css file in the HTML?

Giftykik commented 1 year ago

Did you link the css file in the HTML?

Yes I do I had testing it with link and with inner

Giftykik commented 1 year ago

i am using android 5.0.2

Giftykik commented 1 year ago

full code https://github.com/Giftykik/androidjs_troubles/blob/main/grid

Giftykik commented 1 year ago

i dont even need server part i need only client part

ftk789 commented 1 year ago

image It works perfectly fine! Unless I'm miss understanding you.

Giftykik commented 1 year ago

yes... but on my device i got only background... wtf.. my android 5.0.2

Giftykik commented 1 year ago

image It works perfectly fine! Unless I'm miss understanding you.

but this emulator, what if you test it on real device?

ftk789 commented 1 year ago

image It works perfectly fine! Unless I'm miss understanding you.

but this emulator, what if you test it on real device?

Same results, I think the issue here is something else, See if probably your main.js has anything in it, And see if there's wrong files in wrong places.

Giftykik commented 1 year ago

I just copy index.html in views dir and do not change main.js do i have to wright something in main.js?

Giftykik commented 1 year ago

i was trying even delete main.js and the same result (

ftk789 commented 1 year ago

i was trying even delete main.js and the same result (

I'll give you somethign that might help, There's a repo that has sample apps, Get one of them and copy and paste your stuff there, Should work.

Giftykik commented 1 year ago

Thank you very much! How i can get it?

I think its SDK version trouble cos other phone work normaly, only my Android 5.0.2 do not. May be it is too old...