fix barcode scanner callback order

This commit is contained in:
Nick Gal 2016-06-13 13:44:11 -07:00
parent b96f066329
commit 18b86e8c46

View File

@ -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; }
/**