Android Question Edge-to-edge warning still shows

asales

Expert
Licensed User
Longtime User
I follow all the instructions from this post (install a new recommended SDK and the SDK 35), change the manifest, put the apps in production in the Play Store, but still have a warning, after release the version.
I'm using the B4A 13.30.

What could be?
How can I fixed?
 

asales

Expert
Licensed User
Longtime User
1751942420277.png


English (translated):
Edge-to-edge display might not be available for all users

On Android 15 and later versions, apps targeting SDK 35 will be shown edge-to-edge by default. Apps targeting SDK 35 must handle insets to ensure they are displayed correctly on Android 15 and newer. Investigate the issue, test the app with edge-to-edge display, and make the necessary updates. Alternatively, call enableEdgeToEdge() for Kotlin or EdgeToEdge.enable() for Java. This ensures compatibility with earlier versions.

1751942550763.png


English (translated):
Your app uses deprecated APIs or parameters for edge-to-edge display

One or more APIs or parameters defined for edge-to-edge and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:
LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
They originate from the following locations:
androidx.activity.EdgeToEdgeApi28.adjustLayoutInDisplayCutoutMode
To fix this, migrate away from these APIs or parameters.

Both shows this link:
 
Upvote 0

Magma

Expert
Licensed User
Longtime User
Upvote 0

asales

Expert
Licensed User
Longtime User
This warning isn't related to the snippet that disabled the edge-to-edge feature. It comes from Android SDK itself. It might be gone with the new beta and the updated SDK.
I'm using the B4A 13.40 with the new SDK.

I update and release 3 apps (SDK 35) in Play Store using different approachs:
1 - Custom theme:
2 - CreateResourceFromFile(Macro, Themes.LightTheme)
3 - CreateResourceFromFile(Macro, Themes.DarkTheme)

All options still shows the warnings (don't be gone) with this last versions releaseds.

Since it's just a warning, I'm not too worried at the moment.
 
Upvote 0
Top