bug_report 0.0.1-dev.1 copy "bug_report: ^0.0.1-dev.1" to clipboard
bug_report: ^0.0.1-dev.1 copied to clipboard

outdated

A widget that opens GitHub issues for Flutter applications. Supports image attachments.

bug_report #

A tool that opens GitHub issues for Flutter applications. Useful for developers to receive feedback from their users.

Features #

  • Supports image attachment (png and jpg)
  • Reports device information for easier diagnosis and debugging

Usage #

Generate a GitHub personal access token by following the steps here. To use this package, you only need to check the repo scope.

Keep your token safe by storing it as an environment variable. A recommended approach is using the flutter_dotenv package.

Add this package as a dependency in your pubspec.yaml file:

dependencies:
    bug_report: ^0.1.0

Import the library:

import 'package:bug_report/bug_report.dart';

Finally, use the widget:

final issueForm = IssueForm(
    owner: "YOUR_GITHUB_USERNAME", // e.g. Puepis
    repositoryName: "YOUR_REPOSITORY_NAME", // e.g. bug_report
    authToken: "YOUR_PERSONAL_ACCESS_TOKEN", // keep it safe! 
);

Examples #

Check out lib/main.dart in the example folder for a sample usage.

Bugs/Requests #

If you encounter any bugs please feel free to open an issue here. Suggestions for new features and contributions are also welcome!

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A widget that opens GitHub issues for Flutter applications. Supports image attachments.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

device_info, flutter, github, http, image_picker, uuid

More

Packages that depend on bug_report