Skip to content
Snippets Groups Projects
Commit 548b6b80 authored by Taras's avatar Taras
Browse files

Update dependencies and add timber for debug

parent 7d01868a
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ dependencies {
implementation 'org.matrix.android:matrix-sdk-android:1.5.30.6'
//Kotlin
implementation "androidx.core:core-ktx:1.10.0"
implementation "androidx.core:core-ktx:1.10.1"
//androidx lifecycle
def lifecycle_version = "2.6.1"
......@@ -130,7 +130,7 @@ dependencies {
implementation 'com.github.UnifiedPush:android-connector:2.1.1'
//Subscriptions
gplayImplementation 'com.android.billingclient:billing-ktx:5.2.0'
gplayImplementation 'com.android.billingclient:billing-ktx:6.0.0'
//Emoji
implementation "com.vanniktech:emoji-google:0.16.0"
......@@ -177,6 +177,9 @@ dependencies {
def coroutines_version = "1.6.4"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
//Log
implementation 'com.jakewharton.timber:timber:5.0.1'
//test
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
......
package org.futo.circles
import android.app.Application
import android.util.Log
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ProcessLifecycleOwner
......@@ -14,6 +13,7 @@ import org.futo.circles.provider.MatrixSessionProvider
import org.koin.android.ext.android.inject
import org.koin.android.ext.koin.androidContext
import org.koin.core.context.startKoin
import timber.log.Timber
class App : Application() {
......@@ -30,6 +30,7 @@ class App : Application() {
EmojiManager.install(GoogleEmojiProvider())
notificationUtils.createNotificationChannels()
setupLifecycleObserver()
if (BuildConfig.DEBUG) Timber.plant(Timber.DebugTree())
}
private fun setupLifecycleObserver() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment