Skip to content

Commit

Permalink
Upgrade the QR code scanner to an android12 compatible one as well
Browse files Browse the repository at this point in the history
To avoid reintroducing the hook after the following failure

```
* Where:
See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings
Script '/Users/runner/work/e-mission-phone/e-mission-phone/platforms/android/phonegap-plugin-barcodescanner/emission-barcodescanner.gradle' line: 9

* What went wrong:
A problem occurred evaluating script.
> Could not find method compile() for arguments [{name=barcodescanner-release-2.1.5, ext=aar}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
```
  • Loading branch information
shankari committed Mar 14, 2023
1 parent d83c667 commit a8ca751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.cordovabuild.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"cordova-plugin-em-unifiedlogger": {},
"cordova-plugin-em-usercache": {},
"cordova-plugin-androidx-adapter": {},
"phonegap-plugin-barcodescanner": {}
"cordova-plugin-barcode-qrscanner": {}
}
},
"dependencies": {
Expand All @@ -87,7 +87,7 @@
"cordova-plugin-x-socialsharing": "6.0.4",
"fs-extra": "^9.0.1",
"klaw-sync": "^6.0.0",
"phonegap-plugin-barcodescanner": "git+https://github.com/phonegap/phonegap-plugin-barcodescanner#v8.1.0",
"cordova-plugin-barcode-qrscanner": "^3.0.12",
"@havesource/cordova-plugin-push": "git+https://github.com/havesource/cordova-plugin-push.git#4.0.0-dev.0"
}
}

0 comments on commit a8ca751

Please sign in to comment.