readme.md 1.67 KB
Newer Older
Chok's avatar
Chok committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Customized

local_plugins\phonegap-plugin-barcodescanner\8.1.0\phonegap-plugin-barcodescanner\src\android\barcodescanner.gradle

- Android gradle dependencies 'com.android.support:support-v4:24+'

local_plugins\phonegap-plugin-barcodescanner\8.1.0\phonegap-plugin-barcodescanner\src\ios\CDVBarcodeScanner.mm

- iOS Using fullscreen for UIModalPresentationStyle

==========

- Changes (local_plugins/phonegap-plugin-barcodescanner/8.1.0/phonegap-plugin-barcodescanner/src/android/barcodescanner.gradle)
  implementation to compile >

compile(name:'barcodescanner-release-2.1.5', ext:'aar')

- to
  implementation(name:'barcodescanner-release-2.1.5', ext:'aar')
  =========

- Changes (apps/showroom-mb/local_plugins/phonegap-plugin-barcodescanner/8.1.0/phonegap-plugin-barcodescanner/package.json)
  Remove "jasmine-node": "1.14.5", from devDependecies to settle npm audit vulnerabilities problem

# Redmine #19928 - Jenn Hong

affected path: showroom-nx/apps/showroom-mb/local_plugins/phonegap-plugin-barcodescanner/8.1.0/phonegap-plugin-barcodescanner/src/windows/lib/Reader.cs

===========

Line 117 - Add logging in catch block for exception event

From -
catch (OperationCanceledException) { }

To -
catch (OperationCanceledException) {
Console.WriteLine("Barcode reading operation was canceled.");
}

===========

# Installation

If your platforms having the existing plugin, remove it first. Make sure platforms & plugins do not have the plugins.

- Remove plugin
  cordova plugin rm phonegap-plugin-barcodescanner

- Add plugin
  cordova plugin add ./apps/showroom-mb/local_plugins/phonegap-plugin-barcodescanner/8.1.0/phonegap-plugin-barcodescanner