Open CarlosVallsCiscar opened 2 years ago
I can't seem to recreate this issue. After enabling minifyEnabled and shrinkResources my build worked as expected but it's size didn't change at 51.9 mb. I created a new flutter project without any other dependencies. Can you share your app's size before and after enabling these two values ? maybe the reduced app size is caused by other native dependencies.
I have been looking for the problem and I think I have found the cause. It has to do with adding another dependency to my App, add_2_calendar. When I add that dependency and build the app in release the app crash.
The minifyEnabled and shrinkResources thing solves the problem, but making the size of my app larger.
I do not know if it is a problem with this pluggin or with add_2_calendar, I will also create an issue in the other.
I created an empty project recreating the issue.
Thanks for answering, the plugin is amazing.
In debug mode the plugin works well, but in release mode the app crash with this error from Crashlytics:
Modifying build.gradle for the app disabling minify and shrink and now works, but the app size is bigger. Changes:
Any ideas??, i check the other issues and no one has related problems.
Flutter doctor:
Edit:
Crashlytics receive another error: