diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c2f735775..6040ba7ed 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -34,6 +34,11 @@ jobs: with: name: Web Build path: pangeachat-web.tar.gz + - name: Upload files for deploy stage + uses: actions/upload-artifact@v3 + with: + name: web + path: build/web - name: Upload to release uses: actions/upload-release-asset@v1 env: diff --git a/scripts/enable-android-google-services.patch b/scripts/enable-android-google-services.patch index 7895a16eb..db9d5c3e0 100644 --- a/scripts/enable-android-google-services.patch +++ b/scripts/enable-android-google-services.patch @@ -1,5 +1,5 @@ diff --git a/android/app/build.gradle b/android/app/build.gradle -index 001fbd72..339b35af 100644 +index bf972f30..46cebdc6 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -70,6 +70,10 @@ @@ -28,13 +28,15 @@ index 001fbd72..339b35af 100644 -//apply plugin: 'com.google.gms.google-services' +apply plugin: 'com.google.gms.google-services' diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro -new file mode 100644 -index 00000000..40570865 ---- /dev/null +index d0e0fbc9..0a546da0 100644 +--- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro -@@ -0,0 +1,41 @@ +@@ -1 +1,42 @@ +--keep class net.sqlcipher.** { *; } +\ No newline at end of file +-optimizationpasses 5 +## Flutter wrapper ++-keep class net.sqlcipher.** { *; } +-keep class io.flutter.app.** { *; } +-keep class io.flutter.plugin.** { *; } +-keep class io.flutter.util.** { *; } @@ -108,4 +110,4 @@ index 1afc4606..894d1571 100644 - override fun provideFlutterEngine(context: Context): FlutterEngine? { return provideEngine(this) - } \ No newline at end of file + }