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).
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.
This is written in the excellent Kotlin programming language, and leverages some other excellent Open-Source libraries:
- Anko, by Kotlin
- khttp, by jkcclemens