diff --git a/refilc/android/app/.gitignore b/refilc/android/app/.gitignore new file mode 100644 index 0000000..4861655 --- /dev/null +++ b/refilc/android/app/.gitignore @@ -0,0 +1 @@ +*.jks \ No newline at end of file diff --git a/refilc/android/app/build.gradle b/refilc/android/app/build.gradle index 1d24c20..073ee96 100644 --- a/refilc/android/app/build.gradle +++ b/refilc/android/app/build.gradle @@ -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' } } diff --git a/refilc/build.sh b/refilc/build.sh index cd26752..aac7669 100755 --- a/refilc/build.sh +++ b/refilc/build.sh @@ -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 diff --git a/refilc/pubspec.yaml b/refilc/pubspec.yaml index c4a8c68..c601347 100644 --- a/refilc/pubspec.yaml +++ b/refilc/pubspec.yaml @@ -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