From e2c12fb58f4c560124ff0ad13f1f7ec3a4ecd5f4 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sat, 19 Jul 2025 11:11:30 +0200 Subject: [PATCH 1/2] chore: Remove unused workflow --- .../workflows/completed_issue_comment.yaml | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/completed_issue_comment.yaml diff --git a/.github/workflows/completed_issue_comment.yaml b/.github/workflows/completed_issue_comment.yaml deleted file mode 100644 index 90f97beea..000000000 --- a/.github/workflows/completed_issue_comment.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: Completed Issue Comment - -on: - issues: - types: [labeled] - -jobs: - completed_issue_comment: - if: github.event.label.name == 'status:completed' - runs-on: ubuntu-latest - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - steps: - - run: | - gh issue comment ${{ github.event.issue.number }} --body "$(cat < Date: Sat, 19 Jul 2025 11:25:59 +0200 Subject: [PATCH 2/2] build: Make ios debug job run without secrets --- .github/workflows/integrate.yaml | 6 +++-- ios/Runner/GoogleService-Info.plist | 34 +++++++++++++++++++++++++++++ scripts/release-ios-testflight.sh | 1 - 3 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 ios/Runner/GoogleService-Info.plist diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 31464b8d5..1f06e5059 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -96,7 +96,9 @@ jobs: xcode-version: latest - run: brew install sqlcipher - uses: moonrepo/setup-rust@v1 - - name: Add Firebase Key - run: echo '${{secrets.GOOGLE_SERVICES_INFO_PLIST}}' | base64 -d > ios/Runner/GoogleService-Info.plist + - name: Add Firebase Messaging + run: | + flutter pub add fcm_shared_isolate:0.1.0 + sed -i '' 's,//,,g' lib/utils/background_push.dart - run: flutter pub get - run: flutter build ios --no-codesign diff --git a/ios/Runner/GoogleService-Info.plist b/ios/Runner/GoogleService-Info.plist new file mode 100644 index 000000000..917ea3b2d --- /dev/null +++ b/ios/Runner/GoogleService-Info.plist @@ -0,0 +1,34 @@ + + + + + CLIENT_ID + 865731724731-ofdr7e6m04murgb1bvchlj9oaos0q5i3.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.865731724731-ofdr7e6m04murgb1bvchlj9oaos0q5i3 + API_KEY + AIzaSyA8ZUBcuny0HjPwF2Q2fvDyQTC5dG2VHlE + GCM_SENDER_ID + 865731724731 + PLIST_VERSION + 1 + BUNDLE_ID + im.fluffychat.app + PROJECT_ID + fluffychat-ef3e8 + STORAGE_BUCKET + fluffychat-ef3e8.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:865731724731:ios:79fd983ce46cb40c64309e + + \ No newline at end of file diff --git a/scripts/release-ios-testflight.sh b/scripts/release-ios-testflight.sh index f34f6c826..14e6ea08d 100755 --- a/scripts/release-ios-testflight.sh +++ b/scripts/release-ios-testflight.sh @@ -1,7 +1,6 @@ #!/bin/sh -ve flutter pub add fcm_shared_isolate:0.1.0 sed -i '' 's,//,,g' lib/utils/background_push.dart -yq eval '.dependencies.fcm_shared_isolate = "0.1.0"' -i pubspec.yaml # Workaround: 0.2.0 does not work on iOS flutter clean flutter pub get cd ios