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.5.3 to 2.5.4

12

barcodescanner.ios.js

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

var frame = require("ui/frame");
var fs = require("file-system");
var BarcodeScanner = (function () {

@@ -210,9 +209,2 @@ function BarcodeScanner() {

this._beepOnScan = beepOnScan;
if (this._beepOnScan) {
var soundPath = fs.knownFolders.currentApp().path + "/tns_modules/nativescript-barcodescanner/sound/beep.caf";
this._player = new AVAudioPlayer({ contentsOfURL: NSURL.fileURLWithPath(soundPath) });
this._player.numberOfLoops = 1;
this._player.volume = 0.7;
this._player.prepareToPlay();
}
};

@@ -248,4 +240,4 @@ QRCodeReaderDelegateImpl.prototype.readerDidCancel = function (reader) {

}
if (validResult && this._player) {
this._player.play();
if (validResult && this._beepOnScan) {
AudioServicesPlaySystemSound(1256);
}

@@ -252,0 +244,0 @@ };

8

CHANGELOG.md
# Change Log
## [2.5.4](https://github.com/EddyVerbruggen/nativescript-barcodescanner/tree/2.5.4) (2017-05-23)
[Full Changelog](https://github.com/EddyVerbruggen/nativescript-barcodescanner/milestone/18?closed=1)
## [2.5.3](https://github.com/EddyVerbruggen/nativescript-barcodescanner/tree/2.5.3) (2017-05-23)
[Full Changelog](https://github.com/EddyVerbruggen/nativescript-barcodescanner/milestone/17?closed=1)
## [2.5.2](https://github.com/EddyVerbruggen/nativescript-barcodescanner/tree/2.5.2) (2017-05-23)

@@ -4,0 +12,0 @@ [Full Changelog](https://github.com/EddyVerbruggen/nativescript-barcodescanner/milestone/16?closed=1)

{
"name": "nativescript-barcodescanner",
"version": "2.5.3",
"version": "2.5.4",
"description": "Scan QR/barcodes with a {N} app.",

@@ -5,0 +5,0 @@ "main": "barcodescanner",

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