Open shimitapiro opened 10 years ago
Same here. Really annoying
Any updates here please?
I think I figured out the problem. I was using the secure preferences with dagger as a singleton in a multi threaded env. making the getString and putValue methods synchronized solves the problem.
com.app.utils.SecurePreferences$SecurePreferencesException: javax.crypto.BadPaddingException: pad block corrupted at com.app.utils.SecurePreferences.convert(SecurePreferences.java:193) at com.app.utils.SecurePreferences.decrypt(SecurePreferences.java:179) at com.app.utils.SecurePreferences.getString(SecurePreferences.java:136)
Any idea why ? Thanks Shimi