mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
fix(barcode-scanner): add saveHistory
option (#3713)
Adds the missing Android-only `saveHistory` option. https://github.com/phonegap/phonegap-plugin-barcodescanner#using-the-plugin https://github.com/phonegap/phonegap-plugin-barcodescanner/blob/v8.1.0/src/android/com/phonegap/plugins/barcodescanner/BarcodeScanner.java#L52
This commit is contained in:
parent
eb8d2522b3
commit
39ad4d13aa
@ -47,6 +47,11 @@ export interface BarcodeScannerOptions {
|
||||
*/
|
||||
torchOn?: boolean;
|
||||
|
||||
/**
|
||||
* Save scan history. Defaults to `false`. Supported on Android only.
|
||||
*/
|
||||
saveHistory?: boolean;
|
||||
|
||||
/**
|
||||
* Display scanned text for X ms. 0 suppresses it entirely, default 1500. Supported on Android only.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user