adorsys / secure-storage-android

Store strings & credentials securely encrypted on your device
Apache License 2.0
367 stars 58 forks source link

Value stored with SecurePreferences.setValue is wiped after phone reboot #41

Closed ExPl0siF closed 5 years ago

ExPl0siF commented 5 years ago

Dear adorsys

I have a small problem with your well made encapsulation, when I reboot the Android device (Phillips TV 4.4.4) the key that I have previously stored is wiped ... Do you know why? Is it normal? If it is normal is that possible to make a parameter to set data permanency?

Thank you very much in advance,

ExPL0siF

luckyhandler commented 5 years ago

Hi @ExPl0siF, Thanks for reporting this. This is not a normal behaviour. Are you sure that you are using Android Api 4.4.4 a.k.a. Api 19?

ExPl0siF commented 5 years ago

You're welcome. Yes I'am absolutely sure. It's Android 4.4.4 API 19 Kernel 3.0.36+ and I'm on Phillips 55BDL4050D the build number is FB09.03

I hope it will help you

luckyhandler commented 5 years ago

@ExPl0siF I actually cannot see why this bug occurs, I need more information about this bug from your side. Please provide the exact error definition:

luckyhandler commented 5 years ago

Please also make sure that the issue is still occurring with the newest SecureStorage version. We added some improvements to 1.1.0

luckyhandler commented 5 years ago

I will close this issue as there hasn't been any activity for some time now