getsentry / getsentry/sentry-java

Set navigation params (Indent.bundle.data) as crumbs

Open
#2,647 0 comments 0 reactions 0 assignees View on GitHub
Android Errors Improvement
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

### Description

We already report breadcrumbs in `ActivityLifecycleIntegration#addBreadcrumb`, we just need to append the extras/data keys from the Intent extras/data.
The goal is that if people pass args from navigation, we know which args are passed, usually this helps out to reproduce issues.
We don't need to pass the values due to PII, but the key args should be fine.

It should be part of the `Activity.onCreate` breadcrumb, the keys should be passed inside the `data` bag. Check how it's done for `sentry-android-navigation` for prior art.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.