2023-08-23 00:03:42 +03:00
|
|
|
package com.x8bit.bitwarden
|
|
|
|
|
|
|
|
import android.app.Application
|
2024-02-01 06:02:12 +03:00
|
|
|
import com.x8bit.bitwarden.data.auth.manager.AuthRequestNotificationManager
|
2024-02-13 01:42:51 +03:00
|
|
|
import com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage
|
2024-01-30 09:11:01 +03:00
|
|
|
import com.x8bit.bitwarden.data.platform.manager.CrashLogsManager
|
2023-10-27 21:01:00 +03:00
|
|
|
import com.x8bit.bitwarden.data.platform.manager.NetworkConfigManager
|
2023-08-23 00:03:42 +03:00
|
|
|
import dagger.hilt.android.HiltAndroidApp
|
2023-10-24 17:49:22 +03:00
|
|
|
import javax.inject.Inject
|
2023-08-23 00:03:42 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom application class.
|
|
|
|
*/
|
2024-02-13 01:42:51 +03:00
|
|
|
@OmitFromCoverage
|
2023-08-23 00:03:42 +03:00
|
|
|
@HiltAndroidApp
|
2023-10-24 17:49:22 +03:00
|
|
|
class BitwardenApplication : Application() {
|
|
|
|
// Inject classes here that must be triggered on startup but are not otherwise consumed by
|
|
|
|
// other callers.
|
|
|
|
@Inject
|
2023-10-27 21:01:00 +03:00
|
|
|
lateinit var networkConfigManager: NetworkConfigManager
|
2024-01-30 09:11:01 +03:00
|
|
|
|
|
|
|
@Inject
|
|
|
|
lateinit var crashLogsManager: CrashLogsManager
|
2024-02-01 06:02:12 +03:00
|
|
|
|
|
|
|
@Inject
|
|
|
|
lateinit var authRequestNotificationManager: AuthRequestNotificationManager
|
2023-10-24 17:49:22 +03:00
|
|
|
}
|