Socket
Socket
Sign inDemoInstall

nativescript-barcodescanner

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-barcodescanner - npm Package Compare versions

Comparing version 2.7.0 to 2.7.1

1

barcodescanner.ios.d.ts

@@ -8,2 +8,3 @@ import { ScanOptions, ScanResult } from "./barcodescanner-common";

private _scanDelegate;
private _closeCallback;
constructor();

@@ -10,0 +11,0 @@ private _hasCameraPermission;

7

barcodescanner.ios.js

@@ -69,2 +69,3 @@ "use strict";

BarcodeScanner.prototype.stop = function () {
var _this = this;
var self = this;

@@ -76,2 +77,3 @@ return new Promise(function (resolve, reject) {

self._removeVolumeObserver();
_this._closeCallback && _this._closeCallback();
resolve();

@@ -100,2 +102,3 @@ }

var isContinuous_1 = typeof arg.continuousScanCallback === "function";
_this._closeCallback = arg.closeCallback;
var types = [];

@@ -153,3 +156,3 @@ if (arg.formats) {

self._removeVolumeObserver();
arg.closeCallback && arg.closeCallback();
_this._closeCallback && _this._closeCallback();
reject("Scan aborted");

@@ -167,3 +170,3 @@ }

self._removeVolumeObserver();
arg.closeCallback && arg.closeCallback();
_this._closeCallback && _this._closeCallback();
resolve(result);

@@ -170,0 +173,0 @@ }

{
"name": "nativescript-barcodescanner",
"version": "2.7.0",
"version": "2.7.1",
"description": "Scan QR/barcodes with your NativeScript app.",

@@ -74,2 +74,2 @@ "main": "barcodescanner",

}
}
}

@@ -52,3 +52,3 @@ # NativeScript BarcodeScanner

<img src="ios_permission_custom_reason.png" width="271px" height="167px"/>
<img src="docs/ios_permission_custom_reason.png" width="271px" height="167px"/>

@@ -55,0 +55,0 @@ iOS 10+ requires not only this popup, but also a _reason_. In this case it's "We'd like to use the Camera ..".

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc