Notched devices?

Are there any ways to let the app go to truly full screen on Android notched devices? I used immersive-mode extension but app did not show the content below the notched area, we have the black space there. Thanks!

    <meta-data android:name="android.max_aspect" android:value="2.5" />
    <config:android minimum-sdk-version="19" target-sdk-version="28" />
    <haxelib name="extension-android-immersive"/>
    <set name="IMMERSIVE_FULL"/>

    <window width="0" height="0" orientation="portrait" fps="60" 
resizable="true" vsync="false" fullscreen="true" antialiasing="0" if="cpp"/>

#if mobile    

We rely upon SDL for initializing our window

Perhaps support will be released in the next version? We are on the latest stable 2.0.10 version but there are often improvements going into the development version:

Sometimes we can cherry pick from the dev version here or we can update entirely to a dev version for Lime

1 Like

You probably need to add android.max_aspect metadata to your manifest as explained here

Thanks. it’s a must-have to support wide screen devices. The first tag is in my android manifest :slight_smile:

Should this be in our template by default?

Yes, it should be!
Making this and setting android adaptive icon as default are better for newcomers!