flutterplugincrashrestarter 0.0.2 flutterplugincrashrestarter: ^0.0.2 copied to clipboard
A flutter plugin that restarts your Android app after a crash and provides you with the stack trace
flutterplugincrashrestarter #
A flutter plugin that restarts your Android app after a crash and provides you with the stack trace
Getting Started #
Add this code inside the MainActivity class:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
new com.lucaszanella.flutterplugincrashrestarter.FlutterExceptionHandler(MainActivity.class, this);
}
You can see how to get the stack trace on the example app in main.dart