Does anyone know if Credential Manager allows you ...
# random
p
Does anyone know if Credential Manager allows you to add offline login to your app? In the documentation there isn't any reference to an offline login. If not... I need to save a encrypted password on Android, and I found that the Google offers
EncryptedSharedPreferences
. For the moment I can't find any alternative in datastore. DataStore doesn't offers something similar?
r
Be aware that EncryptedSharedPreferences comes from jetpack-crypto which was silently deprecated (not mentioned anywhere in the docs but is here) and hasn't been updated for a long time. Would have made sense for them to add an EncryptedDataStore at the time but seems no one wants to maintain it anymore sad panda
There are a few community implementations you can try but I can't speak for any of them
p
I think ill use tink encryption
but on the other hand, then, credential manager doesn't support offline login?