Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.itlicious:qreader:2.0.0.1'
}
dependencies {
implementation("com.github.itlicious:qreader:2.0.0.1")
}
<dependency>
<groupId>com.github.itlicious</groupId>
<artifactId>qreader</artifactId>
<version>2.0.0.1</version>
</dependency>
libraryDependencies += "com.github.itlicious" % "qreader" % "2.0.0.1"
:dependencies [[com.github.itlicious/qreader "2.0.0.1"]]
<a href="http://www.methodscount.com/?lib=com.github.nisrulz%3Aqreader%3A1.0.6"><img src="https://img.shields.io/badge/Size-10 KB-e91e63.svg"/></a>
Android library which makes use of Google's Mobile Vision API to enable reading QR Code.
The library is built for simplicity and ease of use. It not only eliminates most boilerplate code for dealing with setting up QR Code reading , but also provides an easy and simple API to retrieve information from QR Code quickly.
Starting with 1.0.4
, Changes exist in the releases tab.
For more detailed usage, check the Wiki
compile 'com.github.nisrulz:qreader:1.0.6'
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
1. Match coding style (braces, spacing, etc.) This is best achieved using CMD+Option+L (Reformat code) on Mac (not sure for Windows) with Android Studio defaults.
2. If its a feature, bugfix, or anything please only change code to what you specify.
3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
4. Pull requests must be made against develop
branch. Any other branch (unless specified by the maintainers) will get rejected.
5. Check for existing issues first, before filing an issue.
6. Have fun!