Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 2 additions & 0 deletions plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Note: iOS supports all formats except `MAXICODE` and `UPC_EAN_EXTENSION` - using
Interface defining the contract for a plugin capable of scanning barcodes.
Requires implementation of the scanBarcode method, which initiates a barcode scan with given options.

For apps that target Android 16 or above running on tablets, the scanOrientation parameter has no effect.

### scanBarcode(...)

```typescript
Expand Down
2 changes: 2 additions & 0 deletions plugin/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export type CapacitorBarcodeScannerOptions = {
/**
* Interface defining the contract for a plugin capable of scanning barcodes.
* Requires implementation of the scanBarcode method, which initiates a barcode scan with given options.
*
* For apps that target Android 16 or above running on tablets, the scanOrientation parameter has no effect.
*/
export interface CapacitorBarcodeScannerPlugin {
scanBarcode(options: CapacitorBarcodeScannerOptions): Promise<CapacitorBarcodeScannerScanResult>;
Expand Down
Loading