Skip to content

Commit 2292ed0

Browse files
chore: add info for scanOrientation on apps targeting Android 16 in tablets
1 parent e4c8417 commit 2292ed0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

plugin/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ 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+
For apps that target Android 16 or above running on tablets, the scanOrientation parameter has no effect.
49+
4850
### scanBarcode(...)
4951

5052
```typescript

plugin/src/definitions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ export type CapacitorBarcodeScannerOptions = {
7777
/**
7878
* Interface defining the contract for a plugin capable of scanning barcodes.
7979
* Requires implementation of the scanBarcode method, which initiates a barcode scan with given options.
80+
*
81+
* For apps that target Android 16 or above running on tablets, the scanOrientation parameter has no effect.
8082
*/
8183
export interface CapacitorBarcodeScannerPlugin {
8284
scanBarcode(options: CapacitorBarcodeScannerOptions): Promise<CapacitorBarcodeScannerScanResult>;

0 commit comments

Comments
 (0)