From ec2733a27c7a76bcd9abd791887e8ce9ac9d3d23 Mon Sep 17 00:00:00 2001 From: Ivan Tustanivskyi Date: Tue, 10 Feb 2026 10:36:00 +0200 Subject: [PATCH 1/3] Add sentry.properties file generation for Android debug symbol upload --- .github/workflows/test-android.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-android.yml b/.github/workflows/test-android.yml index d7c0db61c..76ad26670 100644 --- a/.github/workflows/test-android.yml +++ b/.github/workflows/test-android.yml @@ -169,18 +169,24 @@ jobs: -package \ -archive - - name: Build Android package (Shipping) - id: build-android-shipping + - name: Create sentry.properties for symbol upload env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_ORG: ${{ secrets.SENTRY_ORG }} SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + run: | + cat < checkout/sample/sentry.properties + [Sentry] + defaults.org=$SENTRY_ORG + defaults.project=$SENTRY_PROJECT + auth.token=$SENTRY_AUTH_TOKEN + EOF + + - name: Build Android package (Shipping) + id: build-android-shipping run: | docker exec -w /workspace/checkout/sample \ -e TMPDIR=/home/gh/.cache/tmp \ - -e SENTRY_AUTH_TOKEN="$SENTRY_AUTH_TOKEN" \ - -e SENTRY_ORG="$SENTRY_ORG" \ - -e SENTRY_PROJECT="$SENTRY_PROJECT" \ unreal /home/ue4/UnrealEngine/Engine/Build/BatchFiles/RunUAT.sh BuildCookRun \ -project=/workspace/checkout/sample/SentryPlayground.uproject \ -archivedirectory=/workspace/checkout/sample/Builds \ From 26467138eb537034933210a373809fd06bbeafe4 Mon Sep 17 00:00:00 2001 From: Ivan Tustanivskyi Date: Tue, 10 Feb 2026 11:06:55 +0200 Subject: [PATCH 2/3] Add `android.app.ApplicationStartInfo` to proguard rules --- plugin-dev/Source/Sentry/Sentry_Android_UPL.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin-dev/Source/Sentry/Sentry_Android_UPL.xml b/plugin-dev/Source/Sentry/Sentry_Android_UPL.xml index 1fbb1b02e..2544f3379 100644 --- a/plugin-dev/Source/Sentry/Sentry_Android_UPL.xml +++ b/plugin-dev/Source/Sentry/Sentry_Android_UPL.xml @@ -61,6 +61,7 @@ + -dontwarn android.app.ApplicationStartInfo -dontwarn io.sentry.unreal.** -keep class io.sentry.** { *; } -keep interface io.sentry.** { *; } From 21d9d54e3138801c5fea17949471623315741200 Mon Sep 17 00:00:00 2001 From: Ivan Tustanivskyi Date: Tue, 10 Feb 2026 11:28:13 +0200 Subject: [PATCH 3/3] Revert properties file creation --- .github/workflows/test-android.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test-android.yml b/.github/workflows/test-android.yml index 76ad26670..d7c0db61c 100644 --- a/.github/workflows/test-android.yml +++ b/.github/workflows/test-android.yml @@ -169,24 +169,18 @@ jobs: -package \ -archive - - name: Create sentry.properties for symbol upload + - name: Build Android package (Shipping) + id: build-android-shipping env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_ORG: ${{ secrets.SENTRY_ORG }} SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} - run: | - cat < checkout/sample/sentry.properties - [Sentry] - defaults.org=$SENTRY_ORG - defaults.project=$SENTRY_PROJECT - auth.token=$SENTRY_AUTH_TOKEN - EOF - - - name: Build Android package (Shipping) - id: build-android-shipping run: | docker exec -w /workspace/checkout/sample \ -e TMPDIR=/home/gh/.cache/tmp \ + -e SENTRY_AUTH_TOKEN="$SENTRY_AUTH_TOKEN" \ + -e SENTRY_ORG="$SENTRY_ORG" \ + -e SENTRY_PROJECT="$SENTRY_PROJECT" \ unreal /home/ue4/UnrealEngine/Engine/Build/BatchFiles/RunUAT.sh BuildCookRun \ -project=/workspace/checkout/sample/SentryPlayground.uproject \ -archivedirectory=/workspace/checkout/sample/Builds \