Skip to content

Commit

Permalink
Merge pull request #221 from nickgal/barcode_callback_order
Browse files Browse the repository at this point in the history
fix barcode scanner callback order
  • Loading branch information
ihadeed authored Jun 13, 2016
2 parents b96f066 + 18b86e8 commit 4c6006b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/barcodescanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

/**
Expand Down

0 comments on commit 4c6006b

Please sign in to comment.