Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure.
I'm currentlly working in a proyect that uses a library to wrap secure-preferences. Google Play is recently reporting crashes in production with android 8.0 and 8.1 devices (mostly Galaxys S7, S9, A7 and A8) when trying to get a values from secure preferences.
When doing a SecurePreferences.getString() we recieve a java.lang.IllegalStateException and we can`t figure out where is the actual problem.
We tried to replicate the error with multiple devices but we didn`t encounter any problem and we run out of ideas.
I tried reading the code and even read tozny/java-aes-crypto looking for any clue but still can`t figure out what's happening.
Thank you in advance for any information anyone could provide me.
I'm currentlly working in a proyect that uses a library to wrap secure-preferences. Google Play is recently reporting crashes in production with android 8.0 and 8.1 devices (mostly Galaxys S7, S9, A7 and A8) when trying to get a values from secure preferences.
When doing a SecurePreferences.getString() we recieve a java.lang.IllegalStateException and we can`t figure out where is the actual problem.
We tried to replicate the error with multiple devices but we didn`t encounter any problem and we run out of ideas.
I tried reading the code and even read tozny/java-aes-crypto looking for any clue but still can`t figure out what's happening.
Thank you in advance for any information anyone could provide me.