'why google_ml_kit flutter library [Google ML kit vision] took large size while taking flutter ios / android build?
I'm just using it for text detection only.
below code added in manifest file ,but no changes in the build right now ,still it takes too much size. How to solve this issue. this is the flutter package I'm using. https://pub.dev/packages/google_ml_kit
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<meta-data
android:name="com.google.mlkit.vision.DEPENDENCIES"
android:value="ocr" />
Solution 1:[1]
Try the latest version. google_ml_kit
has been split in multiples plugins, to avoid adding unnecessary dependencies in your project. You can start using google_mlkit_text_recognition
instead.
More details here:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | fbernaly |