Skip to content

Commit 24d1fcc

Browse files
committed
add reporting of TTFD
1 parent 69a82ce commit 24d1fcc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flutter/example/lib/main.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ class MyApp extends StatefulWidget {
115115
class _MyAppState extends State<MyApp> {
116116
@override
117117
Widget build(BuildContext context) {
118+
Future.delayed(const Duration(seconds: 3), () {
119+
SentryFlutter.reportFullyDisplayed();
120+
});
118121
return feedback.BetterFeedback(
119122
child: ChangeNotifierProvider<ThemeProvider>(
120123
create: (_) => ThemeProvider(),

0 commit comments

Comments
 (0)