<@UMPSE7GRM> have you read this? <https://develope...
# android
h
a
Hi I went through this link but when I trying from android studio EncryptedSharedPreferences is not recognised ? Any help
?
h
you need to add jetpack library for it
image.png
a
hey what is file name in this following code snippet val sharedPreferences = EncryptedSharedPreferences .create( fileName, masterKeyAlias, context, EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV, EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM ) val sharedPrefsEditor = sharedPreferences.edit()
as I want the secured shared preference file to store my values
?
h
filname is secured file to store preferences
a
thanks @hetang
but minSdkVersion for this is 23
it wont work in below sdk devices
h
at-least you can secure devices above 23
a
yeah , thats cool
we can use the AEX encryption in <23 devices right?