ophio / secure-preferences

Android secure shared preferences using Android Keystore system
https://medium.com/@vashisthg/android-secure-shared-preferences-10f8356a4c2b
Apache License 2.0
348 stars 56 forks source link

dont-encrypt-nulls #21

Open kmityakov opened 8 years ago

kmityakov commented 8 years ago

@vashisthg when we save a null string for example, it's retrieved from prefs as an empty string ("")

vashisthg commented 8 years ago

Thanks for the PR @kmityakov . Let me know how will it help?

kmityakov commented 8 years ago

@vashisthg If I save null in prefs, I expect to get null when I retrieve it. Currently, I'll get an empty string in this case.