@@ -71,12 +71,12 @@ Future<void> setupSentry(AppRunner appRunner, String dsn,
71
71
options.attachScreenshot = true ;
72
72
options.screenshotQuality = SentryScreenshotQuality .low;
73
73
options.attachViewHierarchy = true ;
74
- options.enableTimeToFullDisplayTracing = true ;
74
+ options.enableTimeToFullDisplayTracing = false ;
75
75
options.spotlight = Spotlight (enabled: true );
76
76
// We can enable Sentry debug logging during development. This is likely
77
77
// going to log too much for your app, but can be useful when figuring out
78
78
// configuration issues, e.g. finding out why your events are not uploaded.
79
- options.debug = true ;
79
+ options.debug = false ;
80
80
81
81
options.maxRequestBodySize = MaxRequestBodySize .always;
82
82
options.maxResponseBodySize = MaxResponseBodySize .always;
@@ -847,7 +847,11 @@ int loop(int val) {
847
847
}
848
848
849
849
class SecondaryScaffold extends StatelessWidget {
850
- const SecondaryScaffold ({Key ? key}) : super (key: key);
850
+ SecondaryScaffold ({Key ? key}) : super (key: key) {
851
+ Timer (const Duration (seconds: 1 ), () {
852
+ SentryFlutter .reportFullyDisplayed ();
853
+ });
854
+ }
851
855
852
856
static Future <void > openSecondaryScaffold (BuildContext context) {
853
857
return Navigator .push (
@@ -856,7 +860,7 @@ class SecondaryScaffold extends StatelessWidget {
856
860
settings:
857
861
const RouteSettings (name: 'SecondaryScaffold' , arguments: 'foobar' ),
858
862
builder: (context) {
859
- return const SecondaryScaffold ();
863
+ return SecondaryScaffold ();
860
864
},
861
865
),
862
866
);
0 commit comments