1
0
Fork 0
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:
Evgenii Kozlov 2023-05-17 18:41:42 +02:00 committed by uburoiubu
parent 492b657c45
commit 9ef07124ba
No known key found for this signature in database
GPG key ID: C8FB80E0A595FBB6
8 changed files with 35 additions and 74 deletions

View file

@ -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()