Add supports-screens and more configChanges to Android manifest

grant

Member
CX Code Contributor
3rd Party Module Dev
Joined
Nov 19, 2019
Messages
81
The supports-screens tag basically just declares that the app is build with tablets in mind not just phones. Mostly so app store's know I think.
Code:
<supports-screens android:largeScreens="true" android:xlargeScreens="true" />

Adding these values to configChanges makes it so the app's activity doesn't restart when a physical keyboard is connected or some types of changes happen to the screen size. https://developer.android.com/guide/topics/manifest/activity-element#config
Code:
|navigation|keyboard|screenLayout|smallestScreenSize

 
Top Bottom