fix: use global sdkVersion
Hello ! With react-native 0.70, many users will met build problems with mismatch versions between their project (31) and this library (30).
With this PR, gradle build the library with global compileSdkVersion minSdkVersion and targetSdkVersion versions, defined in your project android/build.graddle. This way, this library versions evolve with the react-native ones
This should fix #92 #90 #100
Fixed in: https://github.com/jorgebrunetto/vision-camera-code-scanner
i don't think this is fixed in the latest release. i had to explicitly define VisionCameraCodeScanner_compileSdkVersion=31 instead of it using the compileSdkVersion for it to work.
Can confirm this issue hasn't been fixed in the latest release. I've had to add the suggested work around in order for the app to build for Android.