Skip to content

Commit 87a4d5f

Browse files
chore(screen-orientation): fix small typo screen orientation (#2449)
1 parent 0303a85 commit 87a4d5f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

screen-orientation/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ lock(options: OrientationLockOptions) => Promise<void>
6969

7070
Locks the screen orientation.
7171

72-
Starting in Android targetSdk 36, this method has no effect for large screens (e.g. tablets) on Android 16 an higher.
72+
Starting in Android targetSdk 36, this method has no effect for large screens (e.g. tablets) on Android 16 and higher.
7373
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;`.
74-
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.
74+
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.
7575
Regular Android phones are unaffected by this change.
7676
For more information check the Android docs at https://developer.android.com/about/versions/16/behavior-changes-16#adaptive-layouts
7777

screen-orientation/src/definitions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ export interface ScreenOrientationPlugin {
3232
/**
3333
* Locks the screen orientation.
3434
*
35-
* Starting in Android targetSdk 36, this method has no effect for large screens (e.g. tablets) on Android 16 an higher.
35+
* Starting in Android targetSdk 36, this method has no effect for large screens (e.g. tablets) on Android 16 and higher.
3636
* 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>`.
37-
* 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.
37+
* 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.
3838
* Regular Android phones are unaffected by this change.
3939
* For more information check the Android docs at https://developer.android.com/about/versions/16/behavior-changes-16#adaptive-layouts
4040
*

0 commit comments

Comments
 (0)