Skip to content

harutamasato/AppFeedback-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>");
        );
    }

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%