* feat: optimize network stack and connection management Refactor OkHttp connection pools, consolidate Gson serialization, add network-aware WebSocket reconnects, and deduplicate concurrent requests. * test: update mapping assertions for AuthExpired * refactor: address PR review feedback on network stack Simplify health check, improve authenticator cookie matching robustness, resolve nit imports, and add unit tests.
14 lines
340 B
Kotlin
14 lines
340 B
Kotlin
package com.m57.hermescontrol
|
|
|
|
import android.app.Application
|
|
import com.m57.hermescontrol.data.local.AuthManager
|
|
import com.m57.hermescontrol.data.remote.NetworkMonitor
|
|
|
|
class HermesControlApp : Application() {
|
|
override fun onCreate() {
|
|
super.onCreate()
|
|
AuthManager.init(this)
|
|
NetworkMonitor.init(this)
|
|
}
|
|
}
|