Merge pull request #221 from nickgal/barcode_callback_order

fix barcode scanner callback order
This commit is contained in:
Ibrahim Hadeed
2016-06-13 19:27:38 -04:00
committed by GitHub
+3 -1
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; }
/**