-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Description:
We should make an effort to optimize our application size.
To complete this task please do the following:
- Investigate what files take up what size, and if any can be removed
- Remove unnecessary files
- Consider how we could further decrease the bundle size, eg. by taking out non-critical files etc. (Submit an issue with your findings, and we will consider what we can do)
Note:
We currently build with --no-tree-shake-icons for both iOS and Android!
These are the commands used in CICD:
IOS: flutter build ipa --release --export-options-plist=ExportOptions.plist --build-number $GITHUB_RUN_NUMBER --no-tree-shake-icons
ANDROID: flutter build appbundle --release --build-number $GITHUB_RUN_NUMBER --no-tree-shake-icons
References:
https://docs.flutter.dev/perf/app-size
https://medium.com/gytworkz/how-to-decrease-app-size-in-flutter-10461f91f168
https://itnext.io/flutter-minimizing-tips-42113f02b678 (Some tips)
Metadata
Metadata
Assignees
Labels
No labels