Commit db5fa58

derdilla <82763757+NobodyForNothing@users.noreply.github.com>
2023-10-11 15:13:33
document usable compressions in the app
Signed-off-by: derdilla <82763757+NobodyForNothing@users.noreply.github.com>
1 parent 232dd11
Changed files (2)
docs/compression.md
@@ -0,0 +1,15 @@
+*developer documentation - users can safely ignore this*
+
+### Used compressions
+
+Blood pressure monitor uses dart code obfuscation to effectively reduce the app size by 2-3 MB from v1.5.6 onwards.
+
+For reading stack traces of and error messages use the debug symbol files from the github release and follow [the flutter docs](https://docs.flutter.dev/deployment/obfuscate#read-an-obfuscated-stack-trace).
+
+Unused icons are shaken from the font during release compilation.
+
+### Ineffective compressions
+
+- Pro guard rules are not important as flutter already uses R8.
+- `android.enableR8.fullMode=true` has no effect, although further R8 configuration can be investigated.
+- Using the old apk behavior of compressing native libraries shows no to little improvements and is worse for Google play distribution.
\ No newline at end of file
RELEASE.md → docs/release process.md
@@ -1,3 +1,5 @@
+*developer documentation - users can safely ignore this*
+
 App release checklist 
 - [ ] milestone finished
 - [ ] no remaining breaking issues
@@ -7,7 +9,6 @@ App release checklist
 - [ ] verify no tests fail
 - [ ] compile apk `flutter build apk --release --flavor github --obfuscate --split-debug-info=./build/debug-info`
 - [ ] compile play-store `flutter build appbundle --release --flavor github --obfuscate --split-debug-info=./build/debug-info`
-- [ ] test if app update works in vm
-
-
-Compiling the app with obfuscation reduces app size by multiple megabytes. [This makes reading crashes and stack traces a bit harder](https://docs.flutter.dev/deployment/obfuscate#read-an-obfuscated-stack-trace).
\ No newline at end of file
+- [ ] google play beta release
+- [ ] once a user confirms the update works, promote play release and create github release
+- [ ] Add debug symbols in `./build/debug-info` to github release
\ No newline at end of file