Skip to main content
Lars Laborious
Legend
January 3, 2019
Answered

Android fullscreen

  • January 3, 2019
  • 1 reply
  • 1088 views

Hi, all.

I've noticed that on some Android devices (at least on Huawei P Smart) my apps will trigger an alert stating that the app is not optimized for fullscreen mode. However if you then choose to display it in fullscreen mode, it does show everything correctly.

I'm using Animate and have added these to the manifest XML:

<supports-screens

    android:normalScreens="true"

    android:largeScreens="true"

    android:xlargeScreens="true"   

    android:anyDensity="true"/>

<meta-data android:name="android:maxAspectRatio" android:value="3" />

Also I'm targeting SDK 26.

Anyone else encountered this issue?

This topic has been closed for replies.
Correct answer Colin Holgate

I see this issue too, and I don't think there is a built in way for AIR to force immersive mode. There are ANEs that you can use to force immersive, but I haven't tried those yet.

The issue isn't what size screens you support, it's just the immersive mode, where the home and back buttons are hidden.

BTW, if the user dares to go for it, your app will then use immersive mode every time, unless the user goes into settings to turn off the option. And you're not alone, even the Facebook app relies on the user choosing to do immersive.

1 reply

Colin Holgate
Colin HolgateCorrect answer
Inspiring
January 3, 2019

I see this issue too, and I don't think there is a built in way for AIR to force immersive mode. There are ANEs that you can use to force immersive, but I haven't tried those yet.

The issue isn't what size screens you support, it's just the immersive mode, where the home and back buttons are hidden.

BTW, if the user dares to go for it, your app will then use immersive mode every time, unless the user goes into settings to turn off the option. And you're not alone, even the Facebook app relies on the user choosing to do immersive.

Lars Laborious
Legend
January 3, 2019

Thanks, Colin! Glad to hear I'm not alone.

I'll probably test an ANE for immersive mode on my next release.