in_app_feedback 0.0.1
in_app_feedback: ^0.0.1 copied to clipboard
Simple flutter feedback package that let users to provide feedback and create issue
in_app_feedback #
in_app_feedback is a simple feedback package that let user to provide feedback and raise issue from your application
Features #
Get your user feedback without user leaving the application.
- Create an issue in GitHub
- Get feedback via mail through SendGrid
- Add record in firebase [Future]
Demo #

Prerequisite #
Generate API Key #
-
GitHub secret token generate fom here
- Go to
Geenerate new Token
- Set
token name
,expiration
- Select
Repository access
andPermissions
eg.read write issue
- Go to
-
SendGrid Key generate from SendGrid Email API from here
- Create` and verify SendGrid account
- open https://app.sendgrid.com/guide/integrate/langs/curl
Provide API Name
and clickCreate Key
Getting started #
in_app_feedback: ^0.0.1-dev.1
copied to clipboard
Usage #
FlutterFeedback.showFeedback(
context: context,
emailConfig: EmailConfig(
toMail: 'developer.kharag@gmail.com',
sendGridToken: 'send_grid_key',
),
gitHubConfig: GitHubConfig(
accessToken: 'access_token',
githubUserName: 'github_user_name',
repositoryName: 'github_repo_name',
),
feedbackCallback: (FeedbackData data) {
if (data.error == null) {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(content: Text("Feedback Sent")));
} else {
ScaffoldMessenger.of(context)
.showSnackBar(SnackBar(content: Text(data.error!)));
}
},
);
copied to clipboard
Additional information #
Feel free to fork and send pull request
If you have any questions, feedback or ideas, feel free to create an issue. If you enjoy this project, I'd appreciate your 🌟 on GitHub.