Comments (2)
I have released update 3.0.5 of the cordova-plugin-qrscanner-11 with merged pull requests that should fix both gradle compatiblity and update the xzing-android-embedded package to a higher version, which should apparently make scanning faster.
I have tested it on my project but it's still using cordova 10, please let me know if it works for you now when using [email protected]
from cordova-plugin-qrscanner.
I got this resolved fixing the gradle script. In gradle 7.0 and higher certain methods have been replaced. Note that the compile, runtime, testCompile, and testRuntime
configurations introduced by the Java plugin have been deprecated since Gradle 4.10 (Aug 27, 2018), and were finally removed in Gradle 7.0 (Apr 9, 2021).
The aforementioned configurations should be replaced by implementation, runtimeOnly, testImplementation, and testRuntimeOnly
, respectively.
Thus changing the plugin src/android/qrscanner.gradle file fixed the install for me. So far, the plugin has loaded and seems to work fine now on Cordova11 (cordova-android11). Haven't tested iOS yet. Thats next after I rebuild my project for Cordova 11 on the Mac.
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'
}
from cordova-plugin-qrscanner.
Related Issues (20)
- Browser Plugin Not Working
- camera preview wont work anymore
- Limit qr scan area? HOT 3
- Camera preview has a gray layer HOT 1
- .scan didn't work HOT 1
- Support continuous scanning
- Can't compile Android app when targeting SDK version 31 HOT 2
- Who has the best Fork ? HOT 4
- Cant show QRScanner camera view in ionic
- .scan() doesn't work after migrating to Cordova-Android 11
- Live QR Codes HOT 3
- Build failed in IOS HOT 3
- iPhone 14 Can't focus HOT 2
- 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString' HOT 1
- Could not find method compile() for arguments [com.journeyapps:zxing-android-embedded:3.3.0]
- Small QR codes
- Does it supports an external USB camera?
- BSF Cordova Ecosystem Crowdfunding Plan
- Access denied finding property "vendor.camera.aux.packagelist"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-qrscanner.