Observed callbacks are not being invoked correctly while using an EncryptionType different than plaintext, because the key is confronted with the key inside the observedPrefs map, and those wto keys have a different grade.
// Works for plaintext, fails for base64, aes and keystore
val observedPref = observedPrefs[key] ?: return@OnSharedPreferenceChangeListener
Integrating the incoming key will match the one inside the map.
Observed callbacks are not being invoked correctly while using an
EncryptionType
different than plaintext, because the key is confronted with the key inside the observedPrefs map, and those wto keys have a different grade.Integrating the incoming key will match the one inside the map.