Skip to content
📸 You can post feedback messages and screenshots to Slack from your Android app! 🎥
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
app
assets
gradle/wrapper
sdk
sdk_stub
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

API License CircleCI

AppFeedback

You can post feedback messages and screenshots to Slack from your Android app!

It is very useful for internal test!

How to feedback

Introducing this SDK, a floating icon of feedback is displayed. Tapping it, a feedback dialog is displayed.

Feature

  • Show feedback button
  • Two fingers long press to show feedback dialog
  • Take a screenshot & Record screen

Requirements

  • Minimum SDK Version - requires a minimum SDK version of 21 or higher
  • Compile SDK Version - must be compiled against SDK version 27 or higher
  • Support Library Version - uses support library version 27.

Usage

Integrate SDK

Step 1. Add the JitPack repository to your build file:

    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }

Step 2. Add the dependency:

    dependencies {
        implementation 'com.github.yahoojapan.AppFeedback-android:sdk:1.+'
    }

In order to remove sdk code from your release bundle, use sdk_stub module. sdk_stub has same I/F with empty implementation.

    dependencies {
        releaseImplementation 'com.github.yahoojapan.AppFeedback-android:sdk_stub:1.+'
    }

MainActivity

Call AppFeedback.start in the MainActivity.

import jp.co.yahoo.appfeedback.core.AppFeedback;

public class MainActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
 
        // Start feedback SDK
        AppFeedback.start(this,
                          "<slack token>",
                          "<slack channel id>");
        );
    }
You can’t perform that action at this time.