Repository navigation
Open
Labels
Description
[!NOTE]
Add maui here to relay - otherwise maui spans wont get attributes likedevice.class
and on hybrids we get these device attributes directly from the native SDKs e.gInternalSentrySdk.getCurrentScope()in native Android api
- ios needs
device.model- android needs
device.processor_frequency,device.processor_countanddevice.memory_size
sent as context / attribute on the span (and also on error events)
Summary
What are Mobile Vitals
App start
Initial React Native implementation here:
The changelog has over 35 other mentions of App Start though so evolved quite a bit from there, including:
Docs:
Frame Delay
Additional references
- https://github.com/getsentry/team-mobile/issues/160
- https://developer.android.com/topic/performance/vitals/launch-time
React Native implementation
Frozen frames, not Frame delay:
- Add slow and frozen frame in app start span data sentry-react-native#4931
- Add frames delay data from native sentry-react-native#4869
TTID
Android:
- The Sentry Android SDK already includes FirstDrawDoneListener (an OnDrawListener on ViewTreeObserver). Since that SDK is embedded in our project, we may be able to call it
directly from the managed layer rather than reinventing it.
iOS:
- Everything hinges on SentryFramesTracker being active (enableAutoPerformanceTracing must be set). We need a one-shot listener callback from it — currentScreenFrames is already
in the bindings but the listener protocol for frame-by-frame callbacks likely isn't, so there's probably some Cocoa binding work needed.
Both platforms:
- The MAUI navigation equivalent of react-native-screens's ScreenAppearEvent / viewDidAppear is a MAUI page's OnAppearing — that's the natural hook point for starting frame
detection.
Additional References
- TTID & TTFD for navigating between screens sentry-dart#1780
- https://changelog.getsentry.com/announcements/improving-mobile-screen-performance-with-ttid-ttfd
Time to Full Display
Reacted by Bruno Garcia, Syed Hoque and Espen Røvik Larsen
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsNo status
- StatusShow more project fieldsNo status
- StatusShow more project fieldsNo status
Activity
bitsandfoxes commentedon Feb 29, 2024
Also relevant RFC: Pass Native SDKs Spans to Hybrid
bitsandfoxes commentedon Apr 23, 2024
Sadly, I don't have an ETA for these just yet. But your timing is great. We're looking into prioritizing this and having some idea how much benefit this would give helps out greatly.
20 remaining items
bruno-garcia commentedon Mar 12, 2025
For the record, got a few Feedbacks in Sentry from MAUI customers asking about App Starts and general Mobile Vitals support.
jamescrosswell commentedon Mar 17, 2025
I've bumped the priority on this.
Syed-RI commentedon Aug 21, 2025
Upvote! Implement, concur 🔆
jamescrosswell commentedon Mar 31, 2026
NET-185