Increase in app size on adding mlkit in flutter
829
Are you using a flutter plugin or a direct ML Kit dependency. You could try use app bundle to include only one arch in your app, or use dynamic feature to download the feature. If you could depends on Google Play Service, you could use the unbundled version which is only hundreds of KB in size: https://developers.google.com/ml-kit/vision/face-detection/android
Author by
Deepak Lohmod
I love developing flutter apps. I am aiming to serve back to dev community via answering queries on StackOverflow and public projects on GitHub. Need any help? You can find me at:- https://www.linkedin.com/in/deepaklohmod/
Updated on December 30, 2022Comments
-
Deepak Lohmod over 1 year
I recently added mlkit in my app for smile detection and then .abb size increased from 48mb to 185mb. How can i reduce this size...