diff --git a/.github/workflows/flutter-build-apk.yml b/.github/workflows/flutter-build-apk.yml index 1baeec8..1f80334 100644 --- a/.github/workflows/flutter-build-apk.yml +++ b/.github/workflows/flutter-build-apk.yml @@ -56,7 +56,7 @@ jobs: # Build apk. - name: build apk - run: flutter build apk + run: flutter build apk --release - uses: ilharp/sign-android-release@v1 name: Sign app APK diff --git a/.github/workflows/flutter-build-bundle.yml b/.github/workflows/flutter-build-bundle.yml index 91d5c4e..ee22f98 100644 --- a/.github/workflows/flutter-build-bundle.yml +++ b/.github/workflows/flutter-build-bundle.yml @@ -54,8 +54,8 @@ jobs: # - name: Run tests # run: flutter test - - name: build apk - run: flutter build appbundle + - name: build bundle + run: flutter build appbundle --release - uses: ilharp/sign-android-release@v1 name: Sign app Bundle diff --git a/.gitignore b/.gitignore index a150aa3..9e2df9b 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,6 @@ app.*.map.json # Android Studio will place build artifacts here /android/app/debug /android/app/profile -/android/app/release \ No newline at end of file +/android/app/release + +buildProd.gradle \ No newline at end of file diff --git a/android/app/build.gradle b/android/app/build.gradle index 186b505..f2280c9 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -51,18 +51,11 @@ android { versionName flutterVersionName } - signingConfigs { - release { - storeFile file("/home/judemont/projects/flutter/reciper/reciper/release-key.jks") - storePassword "iu2t7LwN" - keyAlias "my-key" - keyPassword "iu2t7LwN" - } - } buildTypes { release { - signingConfig signingConfigs.release - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + // TODO: Add your own signing config for the release build. + // Signing with the debug keys for now, so `flutter run --release` works. + signingConfig signingConfigs.debug } } } diff --git a/release-key.jks b/release-key.jks deleted file mode 100644 index 9b78c48..0000000 Binary files a/release-key.jks and /dev/null differ