Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions screen-orientation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ lock(options: OrientationLockOptions) => Promise<void>

Locks the screen orientation.

Starting in Android targetSdk 36, this method has no effect for large screens (e.g. tablets) on Android 16 an higher.
Starting in Android targetSdk 36, this method has no effect for large screens (e.g. tablets) on Android 16 and higher.
You may opt-out of this behavior in your app by adding `&lt;property android:name="android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY" android:value="true" /&gt;` to your `AndroidManifest.xml` inside `&lt;application&gt;` or `&lt;activity&gt;`.
Keep in mind though that this opt-out is temporary will no longer work for Android 17. Android discourages setting specific orientations for large screens.
Keep in mind though that this opt-out is temporary and will no longer work for Android 17. Android discourages setting specific orientations for large screens.
Regular Android phones are unaffected by this change.
For more information check the Android docs at https://developer.android.com/about/versions/16/behavior-changes-16#adaptive-layouts

Expand Down
4 changes: 2 additions & 2 deletions screen-orientation/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ export interface ScreenOrientationPlugin {
/**
* Locks the screen orientation.
*
* Starting in Android targetSdk 36, this method has no effect for large screens (e.g. tablets) on Android 16 an higher.
* Starting in Android targetSdk 36, this method has no effect for large screens (e.g. tablets) on Android 16 and higher.
* You may opt-out of this behavior in your app by adding `<property android:name="android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY" android:value="true" />` to your `AndroidManifest.xml` inside `<application>` or `<activity>`.
* Keep in mind though that this opt-out is temporary will no longer work for Android 17. Android discourages setting specific orientations for large screens.
* Keep in mind though that this opt-out is temporary and will no longer work for Android 17. Android discourages setting specific orientations for large screens.
* Regular Android phones are unaffected by this change.
* For more information check the Android docs at https://developer.android.com/about/versions/16/behavior-changes-16#adaptive-layouts
*
Expand Down
Loading