scottyab / secure-preferences

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.
1.53k stars 235 forks source link

After upgrade Android OS Version 9 (pie) the values are not stored and retrieved. #93

Closed vinojvetha closed 5 years ago

vinojvetha commented 5 years ago

Anybody have you faced this problem??.

kyuseokyi commented 5 years ago

salt value changed on the pie. you can check here https://github.com/scottyab/secure-preferences/pull/92 the problem is Build.getSerial().

scottyab commented 5 years ago

duplicate of #88, Thanks for raising. The 0.1.7 release gives an option to pass you're own salt

nitin525 commented 5 years ago

would upgrading the lib from 0.1.5 to 0.1.7 take care of the app upgrade issue or we need to have two separate constructors? One for 28 and above?

nitin525 commented 5 years ago

duplicate of #88, Thanks for raising. The 0.1.7 release gives an option to pass you're own salt

would upgrading the lib from 0.1.5 to 0.1.7 take care of the app upgrade issue or we need to have two separate constructors? One for 28 and above with a salt?