Commit 2bf9e8c8 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Add Traceur dependency on debug builds

parent 44241c63
......@@ -177,6 +177,8 @@ dependencies {
transitive = true;
}
debugCompile "com.tspoon.traceur:traceur:1.0.1"
provided 'com.parse.bolts:bolts-tasks:1.4.0'
provided 'io.reactivex.rxjava2:rxjava:2.1.0'
provided 'io.reactivex:rxjava:1.3.0'
......
......@@ -2,6 +2,7 @@ package chat.rocket.android;
import android.os.StrictMode;
import com.facebook.stetho.Stetho;
import com.tspoon.traceur.Traceur;
import com.uphyca.stetho_realm.RealmInspectorModulesProvider;
public class RocketChatApplicationDebug extends RocketChatApplication {
......@@ -11,6 +12,11 @@ public class RocketChatApplicationDebug extends RocketChatApplication {
super.onCreate();
enableStrictMode();
enableStetho();
enableTraceur();
}
private void enableTraceur() {
Traceur.enableLogging();
}
private void enableStrictMode() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment