Credntia / MVBarcodeReader

A Barcode scanner library for Android. Uses the Google Play Services' mobile vision api for barcode detection.
Apache License 2.0
68 stars 22 forks source link

Separate Intent and Update Versions #37

Closed percula closed 6 years ago

percula commented 6 years ago

I wanted to use the RxActivityResult library to launch the barcode request with Rx. This required access to the barcode Intent. I created a method to get the Intent, as well as a new method that allows the Intent to be launched using a Fragment, instead of an Activity.

Also, I updated the Gradle dependencies to use Implementation and CompileOnly, instead of Compile and Provided, respectively. Also updated the Gradle version, Play Services version, etc. These updates also fixed compatibility with the JitPack build system.

This pull request includes the commit by @kksingla to update BarcodeCaptureFragment.java.