mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-08-04 00:00:08 +08:00
Merge pull request #221 from nickgal/barcode_callback_order
fix barcode scanner callback order
This commit is contained in:
@@ -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; }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user