Skip to content

Commit b88c001

Browse files
authored
chore: copy README.md (#114)
1 parent 729aef4 commit b88c001

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ Note: iOS supports all formats except `MAXICODE` and `UPC_EAN_EXTENSION` - using
4545
Interface defining the contract for a plugin capable of scanning barcodes.
4646
Requires implementation of the scanBarcode method, which initiates a barcode scan with given options.
4747

48+
Starting in Android targetSdk 36, the scanOrientation parameter has no effect for large screens (e.g. tablets) on Android 16 and higher.
49+
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>`.
50+
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.
51+
Regular Android phones are unaffected by this change.
52+
For more information check the Android docs at https://developer.android.com/about/versions/16/behavior-changes-16#adaptive-layouts
53+
4854
### scanBarcode(...)
4955

5056
```typescript
@@ -141,7 +147,7 @@ Defines the options for configuring a barcode scan.
141147

142148
| Members | Value |
143149
| ----------- | -------------------- |
144-
| **`ZXING`** | <code>'zxing'</code> |
145-
| **`MLKIT`** | <code>'mlkit'</code> |
150+
| **`ZXING`** | <code>"zxing"</code> |
151+
| **`MLKIT`** | <code>"mlkit"</code> |
146152

147153
</docgen-api>

0 commit comments

Comments
 (0)