Commit 8ae70e72 authored by Konstantin Tskhovrebov's avatar Konstantin Tskhovrebov 🤖

Disable FireBase for debug builds.

parent 92b8a4ee
......@@ -40,12 +40,13 @@ class App : Application() {
}
private fun initFabric() {
Fabric.with(
Fabric.Builder(this)
.kits(Crashlytics())
.debuggable(BuildConfig.DEBUG)
.build()
)
if (!BuildConfig.DEBUG) {
Fabric.with(
Fabric.Builder(this)
.kits(Crashlytics())
.build()
)
}
}
private fun initToothpick() {
......
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