bugsnag / bugsnag-flutter-performance

Monitor the start-up, navigation events and network requests of your Flutter app and see the results in your BugSnag dashboard.
https://docs.bugsnag.com/performance/integration-guides/flutter
MIT License
1 stars 2 forks source link

Navigation instrumentation #43

Closed robert-smartbear closed 7 months ago

robert-smartbear commented 7 months ago

Goal

We want to allow the users to have a more detailed view of navigation performance and also defer screen load closing if a view content has to be loaded from an external source

Design

BugsnagLoadingIndicator is used that some content is still being loaded on the currently loaded screen BugsnagNavigationContainer is used to handle nested Navigators NavigationInstrumentationNodeProvider is used internally to utilise the BuildContext tree to figure out the parentage of screens

Changeset

New public widgets were introduced: BugsnagLoadingIndicator, BugsnagNavigationContainer

Testing

E2E tests