Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of how to use a constant variable
val sharedPreferences = EncryptedSharedPreferences.create(
WPFC_SHARED_PREFS_FILENAME,
masterKeyAlias,
this,
EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV,
EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment