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

Matt Dolan has been eating doughnuts and developing with Android since the dark days of v1.6.

Matt Dolan has been eating doughnuts and developing with Android since the dark days of v1.6.