handle mib session expirey and keepalive
Auto Tag on Version Change / check-version (push) Successful in 2s

This commit is contained in:
2026-05-15 10:24:51 +05:00
parent c9ec43de04
commit 1b5a417196
3 changed files with 89 additions and 6 deletions
@@ -24,7 +24,12 @@ class BasedBankApp : Application() {
val mibMutex = Mutex()
val mibLoginFlow by lazy {
MibLoginFlow(getSharedPreferences("mib_prefs", MODE_PRIVATE))
MibLoginFlow(getSharedPreferences("mib_prefs", MODE_PRIVATE)).also { flow ->
flow.onSessionRefreshed = { session, profiles ->
mibSession = session
mibProfiles = profiles
}
}
}
override fun onCreate() {