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.
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.