I have been trying to use the OAuth method as a way to get my app to function with a login process, and when I sign out of the OAuth, it actually doesn’t.
For the time being, I’ve replaced my variables to "" once I have clicked the sign out button. But if I sign in with Email instead, the name won’t show up.
Any help will be appreciated!
EDIT:I forgot to add the sign out block under the Firebase sign out block, so I added it, making that it doesn’t get confusing.
I tested this on Web Preview, and yes, I can change it to an empty text. But could you please analyze my problem? I can send you whatever images you require or a link perhaps.
Update: I’ve put the variables to empty strings, and tested it out. Nothing changed. I understand there could probably be a difference in what you may say next, so I will wait. Sorry I’m yapping a lot
I’ve set all the code properly, and even went onto YouTube, Thunkable Docs, and other resources that could’ve helped me, but nothing was in detail. All the Google data is being displayed as I want it to, but the sign out just isn’t working. I’m unsure about the Firebase process, but I will have to look deeper into that later on.
If you just do, button click → sign out from Google, does that work? This is assuming that you were able to sign into Google successfully which it sounds like you were.
The Google Sign-in was definitely a success… I have actually done sign out through button. It is interesting how it stays signed in despite the variables becoming empty strings (fyi they’re stored variables)
In the Login page, I have set up a button that directs to a Google Sign-in page. The OAuth will gather my info and store it in these specific variables (see image in question) to use throughout using the app. Even if you close the app, as long as you are signed in, it will automatically redirect to the home screen.
Yes, for the login process. I have implemented OAuth and Firebase. Both sign in’s work well but I am not able to sign out of OAuth. I also don’t know about Firebase…
I tested the block out, and put an if... do block to see if its an error, then it would display a popup alert displaying the error message (currently removed) but it didn’t do anything. It just stayed on the same screen.