Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<a name="3.0.2"></a>
## 3.0.2 (2023-08-23)
* implementation instead of compile

<a name="3.0.1"></a>
## [3.0.1](https://github.com/bitpay/cordova-plugin-qrscanner/compare/2.6.0...3.0.1) (2019-03-29)
## 3.0.1 (2023-05-04)
* workaround for https://github.com/bitpay/cordova-plugin-qrscanner/issues/332


### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-qrscanner",
"version": "3.0.1",
"version": "3.0.2",
"description": "Fast, energy-efficient, highly-configurable QR code scanner.",
"cordova": {
"id": "cordova-plugin-qrscanner",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<plugin
xmlns="http://www.phonegap.com/ns/plugins/1.0" id="cordova-plugin-qrscanner" version="3.0.1">
xmlns="http://www.phonegap.com/ns/plugins/1.0" id="cordova-plugin-qrscanner" version="3.0.2">
<name>QRScanner</name>
<engines>
<engine name="cordova" version=">=3.4.0"/>
Expand Down
4 changes: 3 additions & 1 deletion src/android/QRScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,9 @@ private void show(final CallbackContext callbackContext) {
this.cordova.getActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
webView.getView().setBackgroundColor(Color.argb(1, 0, 0, 0));
// @see https://github.com/bitpay/cordova-plugin-qrscanner/issues/332
// webView.getView().setBackgroundColor(Color.argb(1, 0, 0, 0));
webView.getView().setBackgroundColor(Color.TRANSPARENT);
showing = true;
getStatus(callbackContext);
}
Expand Down
4 changes: 2 additions & 2 deletions src/android/qrscanner.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ repositories {
}

dependencies {
compile 'com.journeyapps:zxing-android-embedded:3.3.0'
compile 'com.android.support:appcompat-v7:23.1.0'
implementation 'com.journeyapps:zxing-android-embedded:3.3.0'
implementation 'com.android.support:appcompat-v7:23.1.0'
}

android {
Expand Down