Skip to content

Commit

Permalink
fix: Update ProGuard rules (#1960)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes authored Jan 14, 2025
1 parent 0059c77 commit f691dd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ jobs:
run: ./scripts/smoke-test-ios.ps1 Build -IsIntegrationTest -UnityVersion "${{ matrix.unity-version }}"
timeout-minutes: 10

- name: Upload Project project on failure
- name: Upload integration-test project on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions package-dev/Plugins/Android/proguard-sentry-unity.pro
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Unity: keep names on select sentry-java classes & their methods - we use string-based JNI lookup in our integration.
-keep class io.sentry.Sentry { *; }
-keep class io.sentry.Sentry$OptionsConfiguration { *; }
-keep class io.sentry.android.core.SentryAndroid { *; }
-keep class io.sentry.SentryLevel { *; }
-keep class io.sentry.SentryOptions { *; }
-keep class io.sentry.Hub { *; }
-keep class io.sentry.Breadcrumb { *; }
-keep class io.sentry.Scope { *; }
-keep class io.sentry.ScopeCallback { *; }
-keep class io.sentry.protocol.** { *; }
-dontwarn io.sentry.**

0 comments on commit f691dd3

Please sign in to comment.