adorsys / adorsys/secure-storage-android

"Remove" fails for keys of sets

Aperta
#90 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
375
Fork
56
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The `remove` function does not work as expected for values that are Sets of Strings. This issue is due to the way that sets are stored using multiple keys.

Expected:
```
SecurePreferences.setValue(context, "some_key", setOf("one", "two", "three"))
SecurePreferences.removeValue(context, "key_for_set") // does nothing to remove the set!!
SecurePreferences.contains(context, "some_key") // returns true. Should return false.
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.