Mobile integration

Flutter Crash Reporting and Session Recording

LoggerAI reports Flutter crashes and records sessions in the same place as your server's monitoring, so a failed tap leads to the exact server request behind it.

What LoggerAI records

  • Flutter errors, uncaught async errors and platform errors, grouped by cause
  • Screens, network calls through package:http, Dio and HttpClient, and the app going to the background
  • Your own events, in order
  • A Report a problem sheet with a screenshot and screen recording

Android, iOS, macOS, Windows and Linux. On the web, everything but network capture.

How to set it up

  1. 1. Install the package

    flutter pub add loggerai_flutter
  2. 2. Start it

    Use your project's public key (pk_live_...), from the Connect page. It can only send sessions, events and errors, so it's safe to ship in an app. Never put the secret key in an app.

    import 'package:loggerai_flutter/loggerai_flutter.dart';
    
    void main() => LoggerAI.run(
          const LoggerAIOptions(
            publicKey: 'pk_live_...',
            release: '1.4.2',
            traceHosts: ['api.shop.com'],
          ),
          () => runApp(const ShopApp()),
        );
  3. 3. Name your screens

    MaterialApp(
      navigatorObservers: [LoggerAI.navigatorObserver],
      ...
    )

See every integration, or what you can do with the data in features.

Questions

What personal data does it mask?
Secrets, personal details such as phone numbers, emails, addresses and dates of birth, and locations are masked before anything leaves the app. Bodies are kept only for failed calls, masked the same way.
Can users report a problem from the app?
Yes. People describe what went wrong, keep a screenshot and can record the screen. The team gets an issue with the session's steps and a message in Slack.

Try it on your own app

The Free plan is free for good, and needs no card.