Issue Reporter

Additional

Language
Java
Version
v2.0.0 (Apr 24, 2015)
Created
Dec 10, 2014
Updated
Sep 6, 2016 (Retired)
Owner
Cookpad (cookpad)
Contributors
FUJI Goro (gfx)
Tomoki Yamashita (tomorrowkey)
KATO Ryu (komatatsu)
3
Activity
Badge
Generate
Download
Source code

Issue Reporter

This library provide issue report feature to your app.

Click notification to report an issue that is include system informations and screenshot.

Quick Start

// MainActivity.java
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    ReportMail reportMail = new ReportMail.Builder()
            .email("support@example.com")
            .subject("Report an issue")
            .body(new SystemProfile(this).toString())
            .build();
    IssueReporterFragment.apply(this, reportMail);
}
<!-- in AndroidManifest.xml -->
<application>
        <provider
                android:name="android.support.v4.content.FileProvider"
                android:authorities="${applicationId}.issuereporter.fileprovider"
                android:grantUriPermissions="true"
                android:exported="false">
            <meta-data
                    android:name="android.support.FILE_PROVIDER_PATHS"
                    android:resource="@xml/issuereporter_filepaths"/>
        </provider>
</application>

For Developers

How to publish for jcenter

  1. create bintray account
  2. get API_KEY from your profile edit page
  3. ./gradlew clean build bintrayUpload -PbintrayUser=[your account name] -PbintrayKey=[your api key] -PdryRun=false
  4. ./gradlew releng