snaply 0.0.1-alpha.6 copy "snaply: ^0.0.1-alpha.6" to clipboard
snaply: ^0.0.1-alpha.6 copied to clipboard

A Flutter plugin for instant bug reports with screenshots, screen recordings, device environment and logs.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:snaply/snaply.dart';
import 'package:snaply_example/app/example_app.dart';

void main() {
  const exampleApp = ExampleApp();
  // Enable Snaply based on your build configuration
  const isSnaplyEnabled = true;
  if (isSnaplyEnabled) {
    SnaplyReporter.instance.registerCallbacks(
      onReportReview: () async {
        SnaplyReporter.instance.setAttributes(
          attrKey: 'app_info',
          attrMap: {
            'version': '0.0.1',
          },
        );
      },
    );
    runApp(
      const SnaplyApp(
        isVisible: true,
        child: exampleApp,
      ),
    );
  } else {
    runApp(exampleApp);
  }
}
6
likes
150
points
855
downloads

Publisher

verified publishersnaply.dev

Weekly Downloads

A Flutter plugin for instant bug reports with screenshots, screen recordings, device environment and logs.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

equatable, flutter, plugin_platform_interface, video_player

More

Packages that depend on snaply