Skip to content

Remove screenOrientation="PORTRAIT" Restriction from ScreenActivity #659

Description

@dilankayp

Starting from Android 16, Android ignores resizability and orientation restrictions for large-screen devices, such as foldables and tablets. However, the Qonversion SDK includes the following restriction in AndroidManifest.xml:

<activity android:name="com.qonversion.android.sdk.automations.mvp.ScreenActivity" android:screenOrientation="PORTRAIT" />

This causes a warning in the Google Play Console:

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

To comply with new Android requirements, please remove android:screenOrientation="PORTRAIT" from ScreenActivity in the SDK or make it configurable, so developers can override it in their apps.

Steps to Reproduce:

  1. Integrate Qonversion SDK in an Android app.
  2. Upload the app to Google Play Console.
  3. Google Play Console warns about resizability and orientation restrictions.

Expected Behavior:

  • ScreenActivity should support all screen orientations or allow developers to override this setting.

Additional Context:

  • Android 16 will enforce resizable activities on large-screen devices.
  • Removing orientation restrictions will help improve compatibility with foldables and tablets.

Would appreciate any updates on this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions