INNER CODE UNIT · Kotlin
onCreate
jellyfin/jellyfin-android · app/src/main/java/org/jellyfin/mobile/JellyfinApplication.kt:17
override fun onCreate() {
super.onCreate()
// Setup logging
Timber.plant(JellyTree())
if (BuildConfig.DEBUG) {
// Enable WebView debugging
if (isWebViewSupported()) {
WebView.setWebContentsDebuggingEnabled(true)
}
}
startKoin {
androidContext(this@JellyfinApplication)
fragmentFactory()
modules(