I have multiple login sessions like Firebase / GOogle Sign in between iOS and Android as well as custom REST API for another auth layer.
I wonder, if I want to sync these and encrypt the current session from Ktor either from headers or cookies, I want to persist it safely cross platform with Kotlin multiplatform.
Whats the best way of doing this? I guess iOS has KeyChain or such, but would love to just extract the storage into a library taking care of encryptions in all platforms as well as persist sessions across app lifecycles.
As of example if close app and go back would like sometimes go back, and maybe lock fingerprint to access app again.
This usually complex in each platforms in itself, but wondering if anyone solved this? 😛