-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix(docs): Add ProGuard related properties to MAUI MSBuild page #14995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
e8d6807
c9011be
ed97386
9bee8a6
2270e06
9cea97a
90276e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,6 +174,13 @@ Sentry will try to determine the release version automatically by checking the f | |
|
||
</ConfigKey> | ||
|
||
<ConfigKey name="SentryProGuardUUID" supported={["dotnet.maui"]}> | ||
|
||
Manually set your ProGuard UUID. This UUID will be used to [upload ProGuard mapping to Sentry](cli/dif/#proguard-mapping-upload), and setting APK's metadata. | ||
If not defined, Sentry will [generate a UUID](../../data-management/debug-files/identifiers/#proguard-uuids) for you. | ||
|
||
</ConfigKey> | ||
|
||
<ConfigKey name="SentrySetCommits"> | ||
|
||
Enable `SentrySetCommits` to automatically [associate commits with the release](/cli/releases/#commit-integration). | ||
|
@@ -186,6 +193,25 @@ By default, when `SentrySetCommits` is enabled, the SDK will set commits with th | |
|
||
</ConfigKey> | ||
|
||
<ConfigKey name="SentryUploadAndroidProGuardMapping" supported={["dotnet.maui"]}> | ||
|
||
Controls uploading ProGuard mapping file to Sentry after the build. Defaults to `false` (disabled). | ||
alexsohn1126 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
Set to `true` to upload ProGuard mapping file to Sentry. | ||
Your resulting APK will be injected with the metadata `io.sentry.proguard-uuid`. `AndroidManifest.xml` will contain a metadata entry such as the following: | ||
|
||
|
||
```xml | ||
<meta-data | ||
android:name="io.sentry.proguard-uuid" | ||
android:value="YOUR-UUID-HERE" /> | ||
``` | ||
|
||
Do not overwrite `io.sentry.proguard-uuid` metadata directly. See [SentryProGuardUUID](#SentryProGuardUUID) to set your own ProGuard UUID. | ||
|
||
`UseSentryCLI` must be set to `true` for the ProGuard mapping upload to work. | ||
alexsohn1126 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
</ConfigKey> | ||
|
||
<ConfigKey name="SentryUploadSymbols"> | ||
|
||
Controls uploading symbols to Sentry during the build. Defaults to `false` (disabled). | ||
|
Uh oh!
There was an error while loading. Please reload this page.