diff --git a/android/ZBarScannerActivity.java b/android/ZBarScannerActivity.java index 9f23fa2..ffad10f 100644 --- a/android/ZBarScannerActivity.java +++ b/android/ZBarScannerActivity.java @@ -17,8 +17,12 @@ import android.hardware.Camera.PreviewCallback; import android.hardware.Camera.AutoFocusCallback; import android.os.Bundle; import android.os.Handler; -import android.support.v4.app.ActivityCompat; -import android.support.v4.content.ContextCompat; + + +import androidx.core.content.ContextCompat; +import androidx.core.app.ActivityCompat; + + import android.util.Log; import android.view.Gravity; import android.view.SurfaceHolder; diff --git a/package.json b/package.json index 3a59007..d93208b 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "cordova-plugin-cszbar", - "version": "1.3.3", + "name": "cordova-plugin-cszbar-jsg", + "version": "1.4.0", "description": "Plugin to integrate with the ZBar barcode scanning library.", "cordova": { - "id": "cordova-plugin-cszbar", + "id": "cordova-plugin-cszbar-jsg", "platforms": [ "android", "ios" @@ -13,17 +13,6 @@ "type": "git", "url": "git+https://github.com/tjwoon/csZBar.git" }, - "keywords": [ - "cszbar", - "zbar", - "barcode", - "qr", - "qr code", - "scanner", - "ecosystem:cordova", - "cordova-android", - "cordova-ios" - ], "engines": [ { "name": "cordova-android", @@ -40,4 +29,4 @@ "url": "https://github.com/tjwoon/csZBar/issues" }, "homepage": "https://github.com/tjwoon/csZBar#readme" -} +} \ No newline at end of file