getsentry / getsentry/sentry-java

Discouraged Private API use

Open
#5,721 1 comment 0 reactions 0 assignees View on GitHub
Android Metrics Platform: Java
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

SentryFrameMetricsCollector uses reflection to access `mLastFrameTimeNanos` which is not part of the public SDK and might change in future releases

image.png

Contributor guide

Open the contributing guide

Research direction

Start by locating SentryFrameMetricsCollector and inspect how it reflects on mLastFrameTimeNanos. Check the Android frame-metrics APIs and existing tests around frame collection. Done should mean the collector no longer relies on that non-public SDK field while preserving frame metric collection across supported Android releases.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.