android-js / androidjs

Platform to build android app using node js
MIT License
464 stars 110 forks source link

Theme: fullScreen doesn't work? #148

Open quartze opened 3 years ago

quartze commented 3 years ago

In package.json i set theme "fullScreen" to true, but in my Huawei P30 Smart i have just standard view with topbar.

My pakcage.json:

{
    "project-type": "webview",
    "icon": "./assets/icon/icon.png",
    "dist-path": "./dist",
    "screenOrientation": "portrait",
    "theme": {
        "fullScreen": true
      },
    "permission": [
        "android.permission.INTERNET"
    ],
    "description": "",
    "main": "main.js",
    "scripts": {
        "start:dev": "node .",
        "build": "androidjs build"
    },
    "author": "",
    "license": "ISC",
    "dependencies": {
        "androidjs": "^2.0.2",
    }
}

also the screenOrientation works fine.

Chhekur commented 3 years ago

Hey, @quartze are you trying out some sample app or base app?

quartze commented 3 years ago

Hey, @quartze are you trying out some sample app or base app?

I just trying to build my base app. I start with normal androidjs init command.

quartze commented 3 years ago

someone? Please? Still dont know how to fix it.

hassanila commented 3 years ago

Got same problem on Samsung Galaxy S20+ Android 10