You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AdjoeActivity.onCreate calls setRequestedOrientation() — triggers Google Play Console large screen warning #8
We received a Google Play Console warning about screen size restrictions in our app. The warning explicitly points to io.adjoe.sdk.internal.AdjoeActivity.onCreate as the source of the restriction.
Play Console warning (translated from Portuguese):
Remove resizing and orientation restrictions from your app to ensure compatibility with large-screen devices. Starting from Android 16, the system will ignore resizing and orientation restrictions for large-screen devices such as foldables and tablets. This may cause layout and usability issues for users.
We detected the following resizing and orientation restrictions in your app: io.adjoe.sdk.internal.AdjoeActivity.onCreate
Technical evidence
Inspecting AdjoeActivity.class via javap -c confirms setRequestedOrientation() is called twice in onCreate():
Verified across all currently available stable and pre-release versions on the Maven repository:
Version
setRequestedOrientation in AdjoeActivity.onCreate
4.5.2
✅ present (offsets 287, 300)
4.5.3
✅ present (offsets 287, 300)
5.0.0-beta.3
✅ present (offsets 304, 317)
Expected behavior
AdjoeActivity should not call setRequestedOrientation() unconditionally, or should at minimum handle large-screen configurations gracefully so that the activity functions correctly in both portrait and landscape on tablets and foldables running Android 16+.
Impact
Google Play Console flags the app with a large screen compatibility warning.
On Android 16+, the system ignores these calls on large-screen devices, meaning AdjoeActivity will be shown in whatever orientation the device is in — which may break the SDK's UI if it was not designed for landscape / large-screen layouts.
Request
Please either:
Remove the setRequestedOrientation() calls and adapt the AdjoeActivity UI to support multiple orientations/screen sizes, or
Provide guidance on which version addresses this and when it will be available on the Maven repository at https://releases.adjoe.io/maven.
Activity