mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
fix barcode scanner callback order
This commit is contained in:
parent
b96f066329
commit
18b86e8c46
@ -37,7 +37,9 @@ export class BarcodeScanner {
|
||||
* Open the barcode scanner.
|
||||
* @return Returns a Promise that resolves with scanner data, or rejects with an error.
|
||||
*/
|
||||
@Cordova()
|
||||
@Cordova({
|
||||
callbackOrder: 'reverse'
|
||||
})
|
||||
static scan(options?: any): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user