Is using Shared Preferences for storing user data reliable?
-
28-09-2019 - |
Pergunta
Will the data still be there after the user restarts his / her phone or changes SIM / battery?
Solução
Yes. The data is persistent. Unless the user 'restores it to factory defaults'
Outras dicas
SharedPreferences are stored in the phone's internal memory, not the SD card.
They won't be erased by a reboot/battery change either.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow