From a51010970658df6ae155cca1cfe19af5b7622e0c Mon Sep 17 00:00:00 2001 From: Fadi George Date: Tue, 10 Nov 2026 16:18:09 -0800 Subject: [PATCH] chore: [SDK-5739] run push E2E with Firebase Installation IDs off Co-Authored-By: Claude Opus 5.5 --- .github/workflows/e2e.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b904c1b0..21607ac2 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -30,6 +30,9 @@ jobs: github.event.inputs.platform == 'android' || github.event.inputs.platform == 'both' runs-on: ubuntu-latest + strategy: + matrix: + fid: ['on', 'off'] steps: - name: Checkout uses: actions/checkout@v6 @@ -50,6 +53,7 @@ jobs: uses: OneSignal/sdk-shared/.github/actions/setup-google-services@main with: google-services-json: ${{ secrets.APPIUM_GOOGLE_SERVICES_JSON }} + enabled: ${{ matrix.fid == 'on' }} path: examples/demo/android/app/google-services.json - name: Build release APK @@ -59,12 +63,12 @@ jobs: # are all arm64-v8a. # FIREBASE_INSTALLATION_ID_ENABLED turns on Firebase Installation ID registration, # which needs the google-services.json written above. - run: ./gradlew assembleRelease -PciSingleAbi -PFIREBASE_INSTALLATION_ID_ENABLED=true --quiet --console=plain --warning-mode=summary + run: ./gradlew assembleRelease -PciSingleAbi -PFIREBASE_INSTALLATION_ID_ENABLED=${{ matrix.fid == 'on' }} --quiet --console=plain --warning-mode=summary - name: Upload APK uses: actions/upload-artifact@v7 with: - name: demo-apk + name: demo-apk${{ matrix.fid == 'off' && '-fid-off' || '' }} path: examples/demo/android/app/build/outputs/apk/release/app-arm64-v8a-release.apk retention-days: 1 compression-level: 0 @@ -150,6 +154,7 @@ jobs: with: platform: android app-artifact: demo-apk + fid-off-app-artifact: demo-apk-fid-off app-filename: app-arm64-v8a-release.apk sdk-type: react-native bundle-id: com.onesignal.sdkdemo