-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What to do with feedback #10
Comments
That is up to you. You just have to implement the onFeedback-callback as shown below: import 'dart:typed_data';
import 'package:feedback/feedback.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
BetterFeedback(
child: MyApp(
key: GlobalKey(debugLabel: 'app_key'),
),
onFeedback: (
BuildContext context,
String feedbackText,
Uint8List feedbackScreenshot,
) {
// TODO: upload to your server, share via email...
},
),
);
} And somewhere in your code you have to call |
Great thanks! |
Well, it is already included in the readme albeit with a sample function. You don't need to make a PR. More and better documentation is already on my todo list. |
Cool, thanks for making this :) |
Hi,
This looks like a cool plugin!
I couldn't figure out how the user should actually send the feedback.
Thanks.
The text was updated successfully, but these errors were encountered: