mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-01 12:22:47 +08:00
Merge pull request #221 from nickgal/barcode_callback_order
fix barcode scanner callback order
This commit is contained in:
commit
4c6006b2e4
@ -37,7 +37,9 @@ export class BarcodeScanner {
|
|||||||
* Open the barcode scanner.
|
* Open the barcode scanner.
|
||||||
* @return Returns a Promise that resolves with scanner data, or rejects with an error.
|
* @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; }
|
static scan(options?: any): Promise<any> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user