Skip to content

Commit d094ee4

Browse files
authored
Document AssetBundle and Platform exception Flutter (#4981)
1 parent 92f38cf commit d094ee4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/includes/getting-started-primer/flutter.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Features:
99
- Automatic native crash error tracking (using both [Android](/platforms/android/) and [iOS/macOS](/platforms/apple/)), including
1010
- Java, Kotlin, C, and C++ code for Android
1111
- ObjC, Swift, and C for iOS and macOS
12+
- Flutter and Android encapsulated exceptions (PlatformException)
1213
- Offline storage of events
1314
- Events [enriched](/platforms/flutter/enriching-events/context/) with device data
1415
- Breadcrumbs automatically captured:
@@ -22,10 +23,11 @@ Features:
2223
- [User Feedback](/platforms/flutter/enriching-events/user-feedback/) provides the ability to collect user information when an event occurs.
2324
- [Performance Monitoring](/product/performance/) creates transactions for:
2425
- [HTTP requests](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#httpclient-library-instrumentation)
25-
- [Routing Instumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#routing-instumentation)
26+
- [Routing Instrumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#routing-instrumentation)
2627
- [Dio HTTP library](/platforms/dart/configuration/integrations/dio/#performance-monitoring-for-http-requests)
2728
- [Cold and warm app start](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#app-start-instrumentation)
2829
- [Slow and frozen frames](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#slow-and-frozen-frames)
30+
- [AssetBundle Instrumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#assetbundle-instrumentation)
2931
- [Logging Integration](/platforms/dart/configuration/integrations/logging)
3032
- Limited support for Flutter Web, Windows, and Linux
3133
- Under the hood the SDK relies on the [Dart SDK](/platforms/dart/); the minimum required version is `2.12.0` and Flutter SDK version is `1.17.0`.

src/platforms/flutter/common/performance/instrumentation/automatic-instrumentation.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ When the HTTP request throws an `Exception`, Sentry's SDK associates this except
3232

3333
Learn more in our [Dio integration documentation](/platforms/dart/configuration/integrations/dio/#performance-monitoring-for-http-requests).
3434

35-
### Routing Instumentation
35+
### Routing Instrumentation
3636

3737
Automatic routing instrumentation can be enabled by adding an instance of `SentryNavigationObserver` to your application's `navigatorObservers`. Transactions are started automatically when routing to new pages in your application.
3838

@@ -105,7 +105,7 @@ final router = GoRouter(
105105
);
106106
```
107107

108-
Everything else follows the [routing instrumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#routing-instumentation) setup.
108+
Everything else follows the [routing instrumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#routing-instrumentation) setup.
109109

110110
### App Start Instrumentation
111111

@@ -151,7 +151,7 @@ Cold and warm start are Mobile Vitals, which you can learn about in the [full do
151151

152152
Unresponsive UI and animation hitches annoy users and degrade the user experience. Two measurements to track these types of experiences are slow frames and frozen frames. If you want your app to run smoothly, you should try to avoid both. The SDK adds these two measurements for the transactions you capture.
153153

154-
To start getting the Mobile Vitals data, you have to set up the [routing instrumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#routing-instumentation) or the [GoRouter instumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#gorouter-instrumentation).
154+
To start getting the Mobile Vitals data, you have to set up the [routing instrumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#routing-instrumentation) or the [GoRouter instrumentation](/platforms/flutter/performance/instrumentation/automatic-instrumentation/#gorouter-instrumentation).
155155

156156
If you want to opt out, you can flip the `enableAutoPerformanceTracking` flag:
157157

0 commit comments

Comments
 (0)