Hacker News new | ask | show | jobs
by justanotheratom 796 days ago
I wonder how anonymous user sign-in info is persisted on the client. Specifically, I want to know whether re-installing the App will make it forget the previous anonymous sign-in.
1 comments

re-installing the app will remove any locally persisted state - which includes the anonymous user’s sign in info

in a web app, we store this stare in either local storage / cookies

in a mobile app, this state is stored in the local storage equivalent - SharedPreferences for android and NSUserDefaults for IOS