Connect Flutter with its Sentry SDK
Your Flutter app keeps its Sentry SDK. Xovris gives it your project’s DSN, and every error it sends becomes a Xovris issue with its stack and release.
flutter pub add sentry_flutterAlready installed? Your code stays as it is – the DSN is the one change.
Start it
Put this in lib/main.dart, built with --dart-define=SENTRY_DSN=...:
import 'package:flutter/widgets.dart';import 'package:sentry_flutter/sentry_flutter.dart';
Future<void> main() async { await SentryFlutter.init( (options) => options.dsn = const String.fromEnvironment('SENTRY_DSN'), appRunner: () => runApp(const MyApp()), );}It takes SENTRY_DSN from your app’s build settings, so your project’s address never sits in your code.
Your project’s DSN
Xovris finds the SDK in your pubspec.yaml, creates your project’s address and writes it as SENTRY_DSN in your env file, after showing you the change. It then sends a test event and waits until it is stored. In the project, run:
npx xovris@latest initpnpm dlx xovris@latest inityarn dlx xovris@latest initbunx xovris@latest initSee the first error
Send one from anywhere your app runs:
await Sentry.captureException(Exception('first error for Xovris'));Capture one error with the SDK’s own call and it appears as a Xovris issue:
- Errors and their stack traces, grouped into issues
- Messages you capture
- The release each event names
Its frameworks
The same DSN covers every framework this SDK’s own integrations reach:
Flutter.
What Xovris has run
Driven with the real SDK: sentry_flutter 10.4.0 on Flutter 3.50.0, a release build on Android 15, captured 2026-11-14 - an uncaught error in a release build, every frame the line of main.dart it was written on. Its own bytes are replayed into Xovris on every change.
Every option the SDK has is in its own documentation: docs.sentry.io/platforms/dart/guides/flutter/
Your data is never used to train our AI. How your data is kept
A problem is called fixed only once it works again. How each fix is checked
XOVRIS LTD, registered in England and Wales, company number 17499910. Registered office: 66 Paul Street, London EC2A 4NA.