Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 2.08 KB

README.md

File metadata and controls

53 lines (41 loc) · 2.08 KB

Bintray

Table of Contents generated with DocToc

maoni-jira aims at sending the valuable feedback of your app users to the specified JIRA host (as a JIRA issue).

Getting started

Add this to your build.gradle:

  dependencies {
    implementation('org.rm3l:maoni:10.0.0@aar') {
        transitive = true
        //Needed because of https://github.com/rm3l/maoni/issues/294
        exclude module: 'unspecified'
    }
    implementation('org.rm3l:maoni-jira:10.0.0@aar') {
        transitive = true
        //Needed because of https://github.com/rm3l/maoni/issues/294
        exclude module: 'unspecified'
    }
  }

And set it as the listener for your Maoni instance:

    //Customize the maoni-jira listener, with things like the JIRA Host REST API Base URL and the credentials to use to connect
    final org.rm3l.maoni.github.MaoniJiraListener listenerForMaoni = 
            new org.rm3l.maoni.github.MaoniJiraListener(...);
    
    new Maoni.Builder(MY_FILE_PROVIDER_AUTHORITY)
        .withListener(listenerForMaoni) //Callback from maoni-jira
        //...
        .build()
        .start(MaoniSampleMainActivity.this); //The screenshot captured is relative to this calling context 

You're good to go! Maoni will take care of validating / collecting your users' feedbacks and call maoni-jira as needed.

Credits

This is written in the excellent Kotlin programming language, and leverages some other excellent Open-Source libraries: