Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: reduce package size (#4353)

Lucas.Xu032a6482042b
diff --git a/frontend/Makefile.toml b/frontend/Makefile.toml
index 7011bbfa4c..9aa8dd9d18 100644
--- a/frontend/Makefile.toml
+++ b/frontend/Makefile.toml
@@ -225,6 +225,7 @@ script = ['''
echo APP_ENVIRONMENT: ${APP_ENVIRONMENT}
echo ${platforms}
echo ${BUILD_ARCHS}
+ echo ${BUILD_VERSION}
''']
script_runner = "@shell"
diff --git a/frontend/scripts/makefile/flutter.toml b/frontend/scripts/makefile/flutter.toml
index 3d2f145387..80b8c6ce8a 100644
--- a/frontend/scripts/makefile/flutter.toml
+++ b/frontend/scripts/makefile/flutter.toml
@@ -250,7 +250,7 @@ script_runner = "@shell"
script = ["""
cd appflowy_flutter/
flutter pub get
- flutter build ipa --verbose
+ flutter build ipa --build-version ${BUILD_VERSION} --split-debug-info=./ --obfuscate --verbose
"""]
script_runner = "@shell"
@@ -258,7 +258,7 @@ script_runner = "@shell"
script = ["""
cd appflowy_flutter/
flutter pub get
- flutter build apk --split-per-abi --verbose
+ flutter build apk --split-per-abi --split-debug-info=./ --obfuscate --verbose
"""]
script_runner = "@shell"