Set up sentry replay

This commit is contained in:
LittleSheep 2024-11-23 18:10:50 +08:00
parent 0ed8c2373d
commit d64a24454d
2 changed files with 12 additions and 0 deletions

View File

@ -47,6 +47,8 @@ void main() async {
'https://c218d44126d59d69301e730498494def@o4506965897117696.ingest.us.sentry.io/4508346768228352';
options.tracesSampleRate = 1.0;
options.profilesSampleRate = 1.0;
options.experimental.replay.sessionSampleRate = 1.0;
options.experimental.replay.onErrorSampleRate = 1.0;
},
appRunner: () => runApp(const SolianApp()),
);

View File

@ -0,0 +1,10 @@
import 'package:flutter/material.dart';
class PostSearchScreen extends StatelessWidget {
const PostSearchScreen({super.key});
@override
Widget build(BuildContext context) {
return const Placeholder();
}
}