fabre 0.1.0-beta.1 copy "fabre: ^0.1.0-beta.1" to clipboard
fabre: ^0.1.0-beta.1 copied to clipboard

Consent-based screenshot reports with local frame replay and native Android/iOS bridges.

example/main.dart

import 'package:fabre/fabre.dart';
import 'package:flutter/material.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  final reporter = ScreenReporter(ReporterConfig(
    apiKey: const String.fromEnvironment('FABRE_INGEST_KEY'),
    endpoint: Uri.parse(const String.fromEnvironment('FABRE_ENDPOINT')),
    recipient: 'Mobile QA',
    appVersion: '1.0.0',
    environment: 'staging',
  ));
  await reporter.initialize();
  runApp(MaterialApp(
    navigatorKey: reporter.navigatorKey,
    navigatorObservers: [ReporterNavigatorObserver(reporter)],
    builder: (context, child) => Stack(children: [
      ReporterBoundary(reporter: reporter, child: child!),
      Positioned.fill(child: ReporterLauncher(reporter: reporter)),
    ]),
    home: const Scaffold(body: Center(child: Text('My app'))),
  ));
}
0
likes
140
points
93
downloads

Documentation

Documentation
API reference

Publisher

verified publisheraffisto.com

Weekly Downloads

Consent-based screenshot reports with local frame replay and native Android/iOS bridges.

Homepage

Topics

#debugging #feedback #screenshots

License

unknown (license)

Dependencies

flutter, http, uuid

More

Packages that depend on fabre

Packages that implement fabre