-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Please update FirebaseMLVisionBarcodeModel ➡️ MLKitBarcodeScanning to remove warnings #3227
Comments
Hey @adrian-tabirta , I think we will need to follow the migration guide descried here:
Btw, we need to read about in order to determine if we will need to change something in the native code, which can lead to some breaking changes. |
Do we really need Firebase/MLKit to do barcode scanning? I have been using the default implementation for months and it works wonders for both Barcodes and QR codes. |
@MateusAndrade , Can you explain more details on how to migrate with some example code and project directory? |
Thats true, we can have android/iOS native implementation for QR/bar codes, without any MLKit and google, witch is slow if we compare with scandit for example. please update and make sure not to have entire google inside for just a simple native scanner :) |
The library already has native implementations for iOS and Android, I have no idea why there's also a MLKit version for it, but I guess it adds support to a few more codes. |
how do you use the default ones with RNCamera? |
I have started to get the following warning even though I don't use MLKit at all from face detection.
What's worse, trying to set the firebase-ml-vision variable names as seen in the build config is not possible due to the hyphens: This doesn't work.
Variable names were taken from here: https://github.com/react-native-camera/react-native-camera/blob/master/android/build.gradle#L79 Is it possible to not get any download/usage of the mlkit lib if it is not being used? Even with |
Please update FirebaseMLVisionBarcodeModel ➡️ MLKitBarcodeScanning to remove warnings
have:
"react-native-camera": "^3.43.6",
and on:pod install
I got:The text was updated successfully, but these errors were encountered: