1 min readSep 14, 2020
Hi @anangk97 the latest version of EncryptedSharedPreferences has changed one of the calls.
The easiest solution would be to take a look at the code from layercache. We do a little more work to ensure keys are stored which the article doesn't cover.
https://github.com/appmattus/layercache/blob/main/testutils/src/main/kotlin/com/appmattus/layercache/keystore/AndroidKeyStoreProvider.kt