Add jitpack repo:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Add dependency:
implementation 'com.github.NovaCrypto:QrScanner:2018-05-28'
For usage, see the demo app.
If using IntelliJ or AndroidStudio please run:
./gradlew setup
This task will install the copyright profiles, you will need to then go to preferences and select the GNU GPLv3
profile.