Skip to content

Commit

Permalink
fix patch,added file upload for deploy web
Browse files Browse the repository at this point in the history
  • Loading branch information
Brord van Wierst committed Jan 22, 2024
1 parent 7662f40 commit 8f718fb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 8 additions & 6 deletions scripts/enable-android-google-services.patch
Original file line number Diff line number Diff line change
@@ -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 @@
Expand Down Expand Up @@ -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.** { *; }
Expand Down Expand Up @@ -108,4 +110,4 @@ index 1afc4606..894d1571 100644
-
override fun provideFlutterEngine(context: Context): FlutterEngine? {
return provideEngine(this)
}
}

0 comments on commit 8f718fb

Please sign in to comment.