Created
January 30, 2020 23:01
-
-
Save tianhaoz95/51d5366d1bfae27605463788e6f079ac to your computer and use it in GitHub Desktop.
instabug example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.flutter.app.FlutterApplication; | |
import com.instabug.instabugflutter.InstabugFlutterPlugin; | |
import java.util.ArrayList; | |
public class CustomFlutterApplication extends FlutterApplication { | |
@Override | |
public void onCreate() { | |
super.onCreate(); | |
ArrayList<String> invocationEvents = new ArrayList<>(); | |
invocationEvents.add(InstabugFlutterPlugin.INVOCATION_EVENT_SHAKE); | |
new InstabugFlutterPlugin().start(CustomFlutterApplication.this, "TOKEN", invocationEvents); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment