Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
sdk
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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! πŸŽ₯

Topics

Resources

License

Packages

No packages published

Languages