flutter_pipeline 0.0.5 copy "flutter_pipeline: ^0.0.5" to clipboard
flutter_pipeline: ^0.0.5 copied to clipboard

A flutter plugin to record crashes compatible with FCR and all real time crash reporting tool too.

example/lib/main.dart

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_pipeline/flutter_pipeline.dart';

void main() {
  final pipeline = FlutterPipeline.i;

  pipeline.enableFCRLogging(
    host: "<run FCR server>",
    port: 9843,
    code: "<run FCR server>",
    recordCrashes: kReleaseMode,
  );
  pipeline.run(() => runApp(const MainApp()));
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: Text('Hello World!'),
        ),
      ),
    );
  }
}
3
likes
160
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin to record crashes compatible with FCR and all real time crash reporting tool too.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, universal_io

More

Packages that depend on flutter_pipeline