Small Android library to send crash notificaiton of your app to slack channel
Add following code to your application class
@Override
public void onCreate() {
super.onCreate();
SlackOnCrash.install(getApplicationContext(),"Your Slack App Web hook");
SlackOnCrash.addProperty("AppName",getString(R.string.app_name),true); // setting true will allow property as compact
SlackOnCrash.addProperty("AppId",BuildConfig.APPLICATION_ID,false); // setting false will allow property singleline
//Here you can add properties to display in slack channel
SlackOnCrash.start();
//start can be called in application or in your main activity onresume
}
The Following fields are added as default for every message. DeviceCategory OSVersion DeviceName AppVersion StackTrace
Gradle support Allow to record custom or debug messages Add count of the crash occurs