nativescript-barcodescanner
Advanced tools
Comparing version 2.7.7 to 2.7.8
@@ -141,3 +141,3 @@ "use strict"; | ||
if (!_this.broadcastManager) { | ||
_this.broadcastManager = android.support.v4.content.LocalBroadcastManager.getInstance(com.tns.NativeScriptApplication.getInstance()); | ||
_this.broadcastManager = android.support.v4.content.LocalBroadcastManager.getInstance(utils.ad.getApplicationContext()); | ||
} | ||
@@ -166,3 +166,3 @@ var isContinuous = typeof arg.continuousScanCallback === "function"; | ||
} | ||
if (intent.resolveActivity(com.tns.NativeScriptApplication.getInstance().getPackageManager()) !== null) { | ||
if (intent.resolveActivity(utils.ad.getApplicationContext().getPackageManager()) !== null) { | ||
var onScanResult_1 = function (data) { | ||
@@ -169,0 +169,0 @@ console.log(">> activity result: @ " + new Date().getTime()); |
{ | ||
"name": "nativescript-barcodescanner", | ||
"version": "2.7.7", | ||
"version": "2.7.8", | ||
"description": "Scan QR/barcodes with your NativeScript app.", | ||
@@ -5,0 +5,0 @@ "main": "barcodescanner", |
1707910