I am trying to follow examples given here: https://developer.android.com/topic/security/data
I have included the required libraries in my gradle:
implementation "androidx.security:security-crypto:1.0.0"
// For Identity Credential APIs
implementation "androidx.security:security-identity-credential:1.0.0-alpha02"
And yet when I try to use the code:
val mainKey = MasterKey.Builder(applicationContext)
.setKeyScheme(MasterKey.KeyScheme.AES256_GCM)
.build()
I get unresolved reference: MasterKey error. Does the library have that class at all?
Thanks in advance.