GithubHelp home page GithubHelp logo

datalink747 / gittyreporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paolorotolo/gittyreporter

0.0 2.0 0.0 867 KB

A powerful and simple library to open issues on GitHub directly from your app.

License: Apache License 2.0

Java 100.00%

gittyreporter's Introduction

Gitty Reporter

Maven Central
Get it on Google Play

Is your Inbox full of bug reports and requests from your users?
Gitty Reporter is a new material designed library to report issues from your app directly on GitHub, even without an account.

How to use

Add this to your build.gradle:

repositories {
    mavenCentral()
}

dependencies {
  compile 'com.github.paolorotolo:gitty_reporter:1.0.3'
}

Create a new Activity that extends GittyReporter:

public class Gitty extends GittyReporter {

    // Please DO NOT override onCreate. Use init instead.
    @Override
    public void init(Bundle savedInstanceState) {
        
        // Set where Gitty will send issues.
        // (username, repository name);
        setTargetRepository("paolorotolo", "GittyReporter");
        
        // Set Auth token to open issues if user doesn't have a GitHub account
        // For example, you can register a bot account on GitHub that will open bugs for you. 
        setGuestOAuth2Token("28f479f73db97d912611b27579aad7a76ad2baf5");
        
        
        // OPTIONAL METHODS

        // Set if User can send bugs with his own GitHub account (default: true)
        // If false, Gitty will always use your Auth token
        enableUserGitHubLogin(true);
        
        // Set if Gitty can use your Auth token for users without a GitHub account (default: true)
        // If false, Gitty will redirect non registred users to github.com/join
        enableGuestGitHubLogin(true);
        
        // Include other relevant info in your bug report (like custom variables). 
        setExtraInfo("Example string");
    }
}

Featuring Material Design

Gitty Reporter follows Google's material design guidelines. On >= Lollipop, it also includes material animations.

Example

I've uploaded an example app here on GitHub. Check it out! It's also available on Google Play.

Apps using it

  • Some apps at Numix Project Ltd. We created a GitHub bot named numix-ood (Doctor Who anyone?).

gittyreporter's People

Contributors

paolorotolo avatar patrick91 avatar

Watchers

James Cloos avatar Soussi  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.