Coder Social home page Coder Social logo

codingwithtashi / in_app_feedback Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 336 KB

Simple flutter feedback package that let user to give feedback in app

Home Page: https://pub.dev/packages/in_app_feedback

License: MIT License

Kotlin 0.18% Ruby 3.62% Swift 1.56% Objective-C 0.05% Dart 36.75% CMake 25.22% C++ 28.23% C 1.92% HTML 2.45%
feedback flutter-feedback codingwithtashi in-app-feedback flutter-app-feedback

in_app_feedback's Introduction

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 and Permissions eg. read write issue
  • SendGrid Key generate from SendGrid Email API from here

Getting started

in_app_feedback: ^0.0.1+3

Usage

FlutterFeedback.showFeedbackBottomSheet(
                context: context,
                emailConfig: EmailConfig(
                  toMailList: [
                    '[email protected]',
                  ],
                  fromMail: '[email protected]',
                  sendGridToken: 'kSendGridKey',
                ),
                gitHubConfig: GitHubConfig(
                  accessToken: 'kGithubToken',
                  gitHubUserName: 'codingWithTashi',
                  repositoryName: 'tibetan_proverb',
                ),
                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!)));
                  }
                },
                bottomSheetShape: const RoundedRectangleBorder(
                  borderRadius: BorderRadius.only(
                    topLeft: Radius.circular(15.0),
                    topRight: Radius.circular(15.0),
                  ),
                ),
              );

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.

You can also buy me a cup of coffee

in_app_feedback's People

Contributors

codingwithtashi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.