bizz84 / firebase_auth_demo_flutter

Reference Authentication Flow with Flutter & Firebase
https://codewithandrea.com/
MIT License
674 stars 178 forks source link

App stored user data after uninstall from iOS device. #55

Open parth22 opened 4 years ago

parth22 commented 4 years ago

I download the code and run into simulator one strange behaviour that i can't understand. If I uninstall the app without logout from the simulator, run flutter clean and run the code again the app start with previous login info i try to track this but i can't find this can you help me because my whole app is depending on your login flow and now i don't want to change this login part.

bizz84 commented 4 years ago

@parth22 do you mean that the app is still signed-in after deleting and reinstalling? That happens because Firebase stores login information in the iOS keychain. The behavior is different on Android.

parth22 commented 4 years ago

@bizz84 Thanks for the quick reply. Can you guide me that how can i avoid that behaviour in iOS. I also try to delete keychain using flutter_secure_storage deleteAll() api but it didn't work.