Skip to content

Update the upload-proguard for Proguard #4431

@marandaneto

Description

@marandaneto

Core or SDK?

Platform/SDK

Which part? Which one?

sentry-docs

Description

related to this page https://docs.sentry.io/product/cli/dif/#proguard-mapping-upload
--write-properties should be deprecated since it adds more complexity

Suggested Solution

deprecate or remove --write-properties

and add a new suggestion, eg:

// upload via sentry-cli
sentry-cli upload-proguard --uuid 2057d747-ffd5-42a7-9e80-c9df05397b21 /your_path/mapping.txt
// Add this to the AndroidManifest.xml file
<application>
  <meta-data android:name="io.sentry.proguard-uuid" android:value="2057d747-ffd5-42a7-9e80-c9df05397b21" />
</application>

--uuid can also be ignored, but then the user must copy the generated uuid from the CLI output and past it into the android:value value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions