mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-1165 App | Tech | Remove Crashlytics dependency + Setup Timber with Sentry (#3178)
This commit is contained in:
parent
492b657c45
commit
9ef07124ba
8 changed files with 35 additions and 74 deletions
|
@ -1,25 +1,5 @@
|
|||
package com.anytypeio.anytype.sample
|
||||
|
||||
import android.app.Application
|
||||
import com.anytypeio.anytype.core_utils.tools.CrashlyticsTree
|
||||
import timber.log.Timber
|
||||
|
||||
class SampleApp : Application() {
|
||||
|
||||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
setupTimber()
|
||||
}
|
||||
|
||||
private fun setupTimber() {
|
||||
if (BuildConfig.DEBUG)
|
||||
Timber.plant(Timber.DebugTree())
|
||||
else
|
||||
Timber.plant(CrashlyticsTree())
|
||||
}
|
||||
|
||||
companion object {
|
||||
const val BASE_URI = "content://com.agileburo.anytype"
|
||||
}
|
||||
}
|
||||
class SampleApp : Application()
|
Loading…
Add table
Add a link
Reference in a new issue