mesmotronic / cordova-plugin-fullscreen

Plugin for Cordova (PhoneGap) to enable Android's various full screen modes
BSD 3-Clause "New" or "Revised" License
168 stars 56 forks source link

Remove at the bottom #42

Closed bymagnum closed 4 years ago

bymagnum commented 4 years ago

Hello!

It's been almost a week, I can't figure out how to remove the full-screen mode at the bottom of the device Honor 8x (most likely somewhere else there is this problem, maybe Samsung... some models) - here is such a band is saved in any mode, it is not possible to remove it in any way...

It suggests that I switch to full-screen display, I assumed that the problem is the difference between the screens and the application, but when trying to install all attempts are exhausted... what can I do? the plugin also doesn't help

Android 10 EMUI 10.0.0

alt text

neilrackett commented 4 years ago

You need to add the following to the application element of your Android manifest:

<meta-data android:name="android.max_aspect" android:value="2.16" />

This will let the system know that your app supports very wide screen ratios (default is 1.86); there's more info in this Google blog post.

I'll add this to the documentation and investigate whether it's possible/desirable for the plugin to handle this manifest addition in a future release.

neilrackett commented 4 years ago

max_aspect is now automatically set to 2.16 by the plugin in release 1.3+