I am following the login with Facebook example for my app from here.
I have a question regarding one of the login test cases as mentioned on facebook. Here is the scenario:
- First time user comes, sees the login to facebook button
- Successfully logs in, sees and approves the facebook(fb) app permission screen, and I get the authdata, and some other info
- User closes the app
- User directly goes on Facebook and revokes the access to the fb app, approved in Step 2.
- User opens the mobile app, and still able to use it, without getting the facebook login button..?
Ideally I would like to see the login button again. How do we handle such a scenario with Firebase and Facebook together? Do I need to check something on every app restart and what all things I need to clear before new login starts?