New warnings from Google still persist with Solar2D 2025.3721

As the title says the following warnings still persist with Solar2D 2025.3721. I’ve just updated one of my apps and they’re still present in the new build:

Edge-to-edge may not display for all users

From Android 15, apps targeting SDK 35 will display edge-to-edge by default. Apps targeting SDK 35 should handle insets to make sure that their app displays correctly on Android 15 and later. Investigate this issue and allow time to test edge-to-edge and make the required updates. Alternatively, call enableEdgeToEdge() for Kotlin or EdgeToEdge.enable() for Java for backward compatibility.

Your app uses deprecated APIs or parameters for edge-to-edge

One or more of the APIs you use or parameters that you set for edge-to-edge and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:

android.view.Window.setNavigationBarColor

These start in the following places:

com.ansca.corona.CoronaActivity$5.run

To fix this, migrate away from these APIs or parameters.

Remove resizability and orientation restrictions in your app to support large screen devices

From Android 16, Android will ignore resizability and orientation restrictions for large screen devices, such as foldables and tablets. This may lead to layout and usability issues for your users.

We detected the following resizability and orientation restrictions in your app:

<activity android:name="com.ansca.corona.CameraActivity" android:screenOrientation="PORTRAIT" />
<activity android:name="com.ansca.corona.CoronaActivity" android:resizeableActivity="false" />
com.ansca.corona.purchasing.StoreActivity.onCreate

To improve the user experience for your app, remove these restrictions and check that your app layouts work on various screen sizes and orientations by testing on Android 16 and below.

There are a few issues related to this opened on github. a lot stuff from google requirement.

1 Like

Hey Kan, In build.settings, is it okay to leave out the 'default' and 'supported' keys in the orientation table? I’m thinking about trying that to see if it removes the orientation restriction Google is showing.

Looked at it yesterday, these are changes related to google edge to edge feature, it also makes safeArea wrong on Android 15 device, I don’t think changing in build.settings can help in this case. It needs to change from Android sdk side.

1 Like