forked from firka/student-legacy
do something to make apk size smaller (80mb at highest)
This commit is contained in:
parent
ab64faeadb
commit
ee0ba71c8f
1
refilc/android/app/.gitignore
vendored
Normal file
1
refilc/android/app/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.jks
|
@ -122,6 +122,11 @@ android {
|
||||
signingConfig signingConfigs.release
|
||||
shrinkResources true
|
||||
minifyEnabled true
|
||||
debuggable false
|
||||
jniDebuggable false
|
||||
renderscriptDebuggable false
|
||||
pseudoLocalesEnabled false
|
||||
zipAlignEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
flutter build apk --release --dart-define=APPVER=$(cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1) --no-tree-shake-icons
|
||||
flutter build apk --release --tree-shake-icons --split-debug-info=debug-info --split-per-abi --target-platform android-arm,android-arm64 --obfuscate
|
||||
|
@ -45,7 +45,6 @@ dependencies:
|
||||
crypto: ^3.0.2
|
||||
elegant_notification: ^2.2.0
|
||||
flutter_feather_icons: ^2.0.0+1
|
||||
# live_activities: ^1.7.4
|
||||
animated_flip_counter: ^0.3.4
|
||||
lottie: ^3.1.0
|
||||
rive: ^0.12.4
|
||||
@ -79,6 +78,7 @@ dev_dependencies:
|
||||
flutter_launcher_icons: ^0.14.2
|
||||
flutter_native_splash: "^2.3.10"
|
||||
sqflite_common_ffi: ^2.0.0+3
|
||||
dependency_validator: ^5.0.2
|
||||
|
||||
dependency_overrides:
|
||||
webview_flutter_wkwebview: 3.17.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user