Use a raw key for the SDK stores for new sessions (#6835)

* Use a raw key for the SDK stores for new sessions

- Add `ClientSecret` to tell apart the legacy passphrases from the raw keys and centralise parsing/formatting.
- Use the `ClientSecret` to set the passphrase/key in the `SqliteStoreBuilder`.
This commit is contained in:
Jorge Martin Espinosa
2026-05-26 19:28:23 +02:00
committed by GitHub
parent dd48582313
commit d7af6c0d0a
14 changed files with 220 additions and 90 deletions
@@ -56,8 +56,9 @@ class DefaultAnalyticsColdStartWatcher(
override fun onRoomListVisible() {
if (isColdStart.getAndSet(false)) {
Timber.d("Room list is visible, finishing cold start check")
analyticsService.finishLongRunningTransaction(AnalyticsLongRunningTransaction.ColdStart)
analyticsService.finishLongRunningTransaction(AnalyticsLongRunningTransaction.ColdStart) {
Timber.d("Room list is visible, finishing cold start check. Elapsed: ${it.duration}")
}
}
}
}