My question is here (How to check if user is logged in or not with "Google Sign In" (OAuth 2.0) ), but the relevant package has been deprecated (https://developers.google.com/identity/sign-in/web/people).
I am using Google One Tap in my project. How do I know if the user is logged into their Google account or not with Google One Tap.
I asked Google Bard and I think it gave a good answer.
There are a few ways to check if a user is logged in to Google.
Here is an example of how to check if a user is logged in using the Google Sign In API:
With google one tap package :
In addition, it is possible to access other information of the user through these two packages. If you need a different solution, you can use Google Bard.