add git rev to crashlytics reports

This commit is contained in:
Eric House 2019-02-09 11:13:32 -08:00
parent 0cd0bd4c03
commit fce0eb2acc

View file

@ -38,6 +38,8 @@ public class CrashTrack {
try { try {
Fabric.with( context, new Crashlytics() ); Fabric.with( context, new Crashlytics() );
Crashlytics.setString("git-rev", BuildConfig.GIT_REV );
// Now crash as a test // Now crash as a test
if ( false ) { if ( false ) {
new Thread( new Runnable() { new Thread( new Runnable() {