Open shliama opened 3 years ago
Yes that is correct. I can remove those dependencies to allow you to only use the features you need.
I think it's a way to go, let me know if you need any help with the changes.
Yes, we also would only need TextDetection. The final binary apk file is quite big if all dependencies are being packaged. Do you have a rough timeline, when this is available? Thanks
@shliama did you find a way to only compile the libs you actually need?
Not really. I haven't had time to research this yet, but most probably we should look at how it was done with the firebase_ml_vision plugin.
@brianmtully we would highly appreciate a timeline. Thanks
Hi, @brianmtully is spent yesterday sketching and implement a possible solution for this problem. The changes are going to be big and I do not know if it allies with your vision of this plugin.
The idea behind it is to split the plugin into multiple packages like the Firebase packages.
What do you think @brianmtully ?
I am only using face detection splitting it would be good for app size since it is now around 70m with only the detection being used !
Hey, thanks for the plugin 🙌
I have a question regarding the Android & iOS dependencies, in the
firebase_ml_vision
plugin we had to manually specify whatever we want to use in eitherbuild.gradle
orPodfile
.Here, I see these dependencies specified inside
android/build.gradle
:And these inside
ios/google_ml_vision.podspec
:Does it mean all these binaries are being packaged inside iOS/Android apps, even if I just want to use only Barcode scanning?