Sherlock captures all your crashes and reports them as a notification. When you tap on the notification, it opens up an activity with all the crash details along with Device and Application info
How to integrate Sherlock with your application?
You just need to add Sherlock as a gradle dependency in your project.
dependencies {
compile('com.github.ajitsing:sherlock:1.0.1@aar') {
transitive = true
}
}
After syncing your android studio, initialize Sherlock in your Application class.
package com.singhajit.login;
import android.app.Application;
import com.singhajit.sherlock.core.Sherlock;
public class SampleApp extends Application {
@Override
public void onCreate() {
super.onCreate();
Sherlock.init(this);
}
}
Thats all you need to do. Also Sherlock does much more than just reporting a crash. To checkout all its features take a look at this article.
Demo