diff --git a/.github/workflows/release-android-base.yaml b/.github/workflows/release-android-base.yaml index 4bcfb667..f27d60b3 100644 --- a/.github/workflows/release-android-base.yaml +++ b/.github/workflows/release-android-base.yaml @@ -34,6 +34,8 @@ on: required: true sentry-file: required: true + sentry-auth-token: + required: true secrets-file: required: true keystore-name: @@ -63,7 +65,7 @@ jobs: architecture: x86_64 - name: Create env file - run: touch ${{ inputs.root-path }}/.env.${{ inputs.release-type }} && echo -e "ENV_PROJECT_ID=${{ secrets.project-id }}\nENV_RELAY_URL=${{ secrets.relay-url }}\nENV_SENTRY_DSN=${{ secrets.sentry-dsn }}\nENV_SENTRY_TAG=${{ inputs.release-type }}" >> ${{ inputs.root-path }}/.env.${{ inputs.release-type }} + run: touch ${{ inputs.root-path }}/.env.${{ inputs.release-type }} && echo -e "ENV_PROJECT_ID=${{ secrets.project-id }}\nENV_RELAY_URL=${{ secrets.relay-url }}\nENV_SENTRY_DSN=${{ secrets.sentry-dsn }}\nSENTRY_AUTH_TOKEN=${{ secrets.sentry-auth-token }}\nENV_SENTRY_TAG=${{ inputs.release-type }}" >> ${{ inputs.root-path }}/.env.${{ inputs.release-type }} - name: Add Sentry file run: touch ${{ inputs.root-path }}/android/sentry.properties && echo "${{ secrets.sentry-file }}" >> ${{ inputs.root-path }}/android/sentry.properties diff --git a/.github/workflows/release-dapp-android-internal.yaml b/.github/workflows/release-dapp-android-internal.yaml index 0f4d2094..7922300a 100644 --- a/.github/workflows/release-dapp-android-internal.yaml +++ b/.github/workflows/release-dapp-android-internal.yaml @@ -14,6 +14,7 @@ jobs: relay-url: ${{ secrets.ENV_RELAY_URL }} sentry-dsn: ${{ secrets.W3M_WAGMI_SENTRY_DSN }} sentry-file: ${{ secrets.W3M_WAGMI_SENTRY_FILE }} + sentry-auth-token: ${{ secrets.W3M_WAGMI_SENTRY_AUTH_TOKEN }} secrets-file: ${{ secrets.ANDROID_SECRETS_FILE }} firebase-app-id: ${{ secrets.W3M_WAGMI_ANDROID_INTERNAL_FIREBASE_APP_ID }} gsa-key: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }} diff --git a/.github/workflows/release-dapp-android-production.yaml b/.github/workflows/release-dapp-android-production.yaml index 838970ab..f743cfe3 100644 --- a/.github/workflows/release-dapp-android-production.yaml +++ b/.github/workflows/release-dapp-android-production.yaml @@ -14,6 +14,7 @@ jobs: relay-url: ${{ secrets.ENV_RELAY_URL }} sentry-dsn: ${{ secrets.W3M_WAGMI_SENTRY_DSN }} sentry-file: ${{ secrets.W3M_WAGMI_SENTRY_FILE }} + sentry-auth-token: ${{ secrets.W3M_WAGMI_SENTRY_AUTH_TOKEN }} secrets-file: ${{ secrets.ANDROID_SECRETS_FILE }} firebase-app-id: ${{ secrets.APPKIT_ANDROID_PROD_FIREBASE_APP_ID }} gsa-key: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }} diff --git a/.github/workflows/release-dapp-ios-internal.yaml b/.github/workflows/release-dapp-ios-internal.yaml index f32de7cc..f0d82098 100644 --- a/.github/workflows/release-dapp-ios-internal.yaml +++ b/.github/workflows/release-dapp-ios-internal.yaml @@ -18,6 +18,7 @@ jobs: relay-url: ${{ secrets.ENV_RELAY_URL }} sentry-dsn: ${{ secrets.W3M_WAGMI_SENTRY_DSN }} sentry-file: ${{ secrets.W3M_WAGMI_SENTRY_FILE }} + sentry-auth-token: ${{ secrets.W3M_WAGMI_SENTRY_AUTH_TOKEN }} apple-username: ${{ secrets.APPLE_USERNAME }} apple-key-id: ${{ secrets.APPLE_KEY_ID }} apple-key-content: ${{ secrets.APPLE_KEY_CONTENT }} diff --git a/.github/workflows/release-dapp-ios-production.yaml b/.github/workflows/release-dapp-ios-production.yaml index 4e982fca..3bf4d81c 100644 --- a/.github/workflows/release-dapp-ios-production.yaml +++ b/.github/workflows/release-dapp-ios-production.yaml @@ -18,6 +18,7 @@ jobs: relay-url: ${{ secrets.ENV_RELAY_URL }} sentry-dsn: ${{ secrets.W3M_WAGMI_SENTRY_DSN }} sentry-file: ${{ secrets.W3M_WAGMI_SENTRY_FILE }} + sentry-auth-token: ${{ secrets.W3M_WAGMI_SENTRY_AUTH_TOKEN }} apple-username: ${{ secrets.APPLE_USERNAME }} apple-key-id: ${{ secrets.APPLE_KEY_ID }} apple-key-content: ${{ secrets.APPLE_KEY_CONTENT }} diff --git a/.github/workflows/release-ios-base.yaml b/.github/workflows/release-ios-base.yaml index 55bfbd7e..88c4dc94 100644 --- a/.github/workflows/release-ios-base.yaml +++ b/.github/workflows/release-ios-base.yaml @@ -46,6 +46,8 @@ on: required: true sentry-file: required: true + sentry-auth-token: + required: true apple-username: required: true apple-key-id: @@ -110,7 +112,7 @@ jobs: run: gem install cocoapods # Create env file - - run: touch ${{ inputs.root-path }}/.env.${{ inputs.release-type }} && echo -e "ENV_PROJECT_ID=${{ secrets.project-id }}\nENV_RELAY_URL=${{ secrets.relay-url }}\nENV_SENTRY_DSN=${{ secrets.sentry-dsn }}\nENV_SENTRY_TAG=${{ inputs.release-type }}" >> ${{ inputs.root-path }}/.env.${{ inputs.release-type }} + - run: touch ${{ inputs.root-path }}/.env.${{ inputs.release-type }} && echo -e "ENV_PROJECT_ID=${{ secrets.project-id }}\nENV_RELAY_URL=${{ secrets.relay-url }}\nENV_SENTRY_DSN=${{ secrets.sentry-dsn }}\nSENTRY_AUTH_TOKEN=${{ secrets.sentry-auth-token }}\nENV_SENTRY_TAG=${{ inputs.release-type }}" >> ${{ inputs.root-path }}/.env.${{ inputs.release-type }} # Create sentry file - run: touch ${{ inputs.root-path }}/ios/sentry.properties && echo "${{ secrets.sentry-file }}" >> ${{ inputs.root-path }}/ios/sentry.properties diff --git a/.github/workflows/release-wallet-android-internal.yaml b/.github/workflows/release-wallet-android-internal.yaml index 779ac540..309ec527 100644 --- a/.github/workflows/release-wallet-android-internal.yaml +++ b/.github/workflows/release-wallet-android-internal.yaml @@ -14,6 +14,7 @@ jobs: relay-url: ${{ secrets.ENV_RELAY_URL }} sentry-dsn: ${{ secrets.W3W_SENTRY_DSN }} sentry-file: ${{ secrets.W3W_SENTRY_FILE }} + sentry-auth-token: ${{ secrets.W3W_SENTRY_AUTH_TOKEN }} secrets-file: ${{ secrets.ANDROID_SECRETS_FILE }} firebase-app-id: ${{ secrets.W3W_ANDROID_INTERNAL_FIREBASE_APP_ID }} gsa-key: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }} diff --git a/.github/workflows/release-wallet-android-production.yaml b/.github/workflows/release-wallet-android-production.yaml index eb209784..57057c8b 100644 --- a/.github/workflows/release-wallet-android-production.yaml +++ b/.github/workflows/release-wallet-android-production.yaml @@ -15,6 +15,7 @@ jobs: sentry-dsn: ${{ secrets.W3W_SENTRY_DSN }} sentry-file: ${{ secrets.W3W_SENTRY_FILE }} secrets-file: ${{ secrets.ANDROID_SECRETS_FILE }} + sentry-auth-token: ${{ secrets.W3W_SENTRY_AUTH_TOKEN }} firebase-app-id: ${{ secrets.W3W_ANDROID_PROD_FIREBASE_APP_ID }} gsa-key: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }} keystore-name: ${{ vars.WC_PROD_KEYSTORE_NAME }} diff --git a/.github/workflows/release-wallet-ios-internal.yaml b/.github/workflows/release-wallet-ios-internal.yaml index 5946eb2b..d48739e7 100644 --- a/.github/workflows/release-wallet-ios-internal.yaml +++ b/.github/workflows/release-wallet-ios-internal.yaml @@ -18,6 +18,7 @@ jobs: relay-url: ${{ secrets.ENV_RELAY_URL }} sentry-dsn: ${{ secrets.W3W_SENTRY_DSN }} sentry-file: ${{ secrets.W3W_SENTRY_FILE }} + sentry-auth-token: ${{ secrets.W3W_SENTRY_AUTH_TOKEN }} apple-username: ${{ secrets.APPLE_USERNAME }} apple-key-id: ${{ secrets.APPLE_KEY_ID }} apple-key-content: ${{ secrets.APPLE_KEY_CONTENT }} diff --git a/.github/workflows/release-wallet-ios-production.yaml b/.github/workflows/release-wallet-ios-production.yaml index 2ffb78d9..483cac2b 100644 --- a/.github/workflows/release-wallet-ios-production.yaml +++ b/.github/workflows/release-wallet-ios-production.yaml @@ -18,6 +18,7 @@ jobs: relay-url: ${{ secrets.ENV_RELAY_URL }} sentry-dsn: ${{ secrets.W3W_SENTRY_DSN }} sentry-file: ${{ secrets.W3W_SENTRY_FILE }} + sentry-auth-token: ${{ secrets.W3W_SENTRY_AUTH_TOKEN }} apple-username: ${{ secrets.APPLE_USERNAME }} apple-key-id: ${{ secrets.APPLE_KEY_ID }} apple-key-content: ${{ secrets.APPLE_KEY_CONTENT }} diff --git a/dapps/W3MWagmi/.env.example b/dapps/W3MWagmi/.env.example index 2df9f3eb..4de3df90 100644 --- a/dapps/W3MWagmi/.env.example +++ b/dapps/W3MWagmi/.env.example @@ -8,3 +8,5 @@ SENTRY_DISABLE_AUTO_UPLOAD=true # debug, internal, production ENV_SENTRY_TAG='debug' + +SENTRY_AUTH_TOKEN='' diff --git a/dapps/W3MWagmi/.gitignore b/dapps/W3MWagmi/.gitignore index 50d2e7e0..49470d06 100644 --- a/dapps/W3MWagmi/.gitignore +++ b/dapps/W3MWagmi/.gitignore @@ -78,4 +78,5 @@ web-build/ !.yarn/plugins !.yarn/releases !.yarn/sdks -!.yarn/versions \ No newline at end of file +!.yarn/versions +.env.local diff --git a/dapps/W3MWagmi/app.json b/dapps/W3MWagmi/app.json index 3243f2b0..84a197f6 100644 --- a/dapps/W3MWagmi/app.json +++ b/dapps/W3MWagmi/app.json @@ -1,3 +1,15 @@ { - "name": "W3MWagmi" + "name": "W3MWagmi", + "expo": { + "plugins": [ + [ + "@sentry/react-native/expo", + { + "url": "https://sentry.io/", + "project": "w3m-wagmi-react-native", + "organization": "walletconnect" + } + ] + ] + } }