Skip to main content
Grammar fixes. GPS usually refers to global positioning, so putting that in the title actually confuses the topic.
Source Link
DMGregory
  • 140.8k
  • 23
  • 257
  • 401

Sign Out GPSout of Google Play Services in Unity througthrough code

In the Unity engine, I am using GPGS as a token to log in via Google sign-in. It works, but now I have another issue:

As inof the last update of the SDK 2.1., thethis method in PGS for Unity is deprecated: PlayGamesPlatform.Instance.SignOut();

PlayGamesPlatform.Instance.SignOut(); 

What method are you usingcan I use to log out users out from their PGS accounts at runtime?

As a backend, I use Firebase, which, for Gmail Authentication, gets the PGS token. It's easy to log out of Firebase, but exiting from one does not make you exit from the other. As a result, when I come back to the login screen after logging out, it automatically always comes back with the same Gmail, without displaying the choose your Gmail account panel fromafter the first time that you install the app.

As this functionality is out of the API, surely someone built a custom solution.

I hope someone knows how to do it.?

Sign Out GPS Google Play Services in Unity throug code

In the Unity engine, I am using GPGS as a token to log in via Google sign-in. It works, but now I have another issue:

As in the last update of the SDK 2.1., the PGS for Unity is deprecated:

PlayGamesPlatform.Instance.SignOut(); 

What method are you using to log out users from their PGS accounts at runtime?

As backend, I use Firebase, which, for Gmail Authentication, gets the PGS token. easy to log out of Firebase, but exiting from one does not make you exit from the other. As a result, when I come back to the login screen after logging out, it automatically always comes back with the same Gmail, without displaying the choose your Gmail account panel from the first time that you install the app.

As this functionality is out of the API, surely someone built a custom solution.

I hope someone knows how to do it.

Sign out of Google Play Services through code

In the Unity engine, I am using GPGS as a token to log in via Google sign-in. It works, but now I have another issue:

As of the last update of the SDK 2.1., this method in PGS for Unity is deprecated: PlayGamesPlatform.Instance.SignOut();

What method can I use to log users out from their PGS accounts at runtime?

As a backend, I use Firebase, which, for Gmail Authentication, gets the PGS token. It's easy to log out of Firebase, but exiting from one does not make you exit from the other. As a result, when I come back to the login screen after logging out, it automatically always comes back with the same Gmail, without displaying the choose your Gmail account panel after the first time that you install the app.

As this functionality is out of the API, surely someone built a custom solution?

Source Link

Sign Out GPS Google Play Services in Unity throug code

In the Unity engine, I am using GPGS as a token to log in via Google sign-in. It works, but now I have another issue:

As in the last update of the SDK 2.1., the PGS for Unity is deprecated:

PlayGamesPlatform.Instance.SignOut(); 

What method are you using to log out users from their PGS accounts at runtime?

As backend, I use Firebase, which, for Gmail Authentication, gets the PGS token. easy to log out of Firebase, but exiting from one does not make you exit from the other. As a result, when I come back to the login screen after logging out, it automatically always comes back with the same Gmail, without displaying the choose your Gmail account panel from the first time that you install the app.

As this functionality is out of the API, surely someone built a custom solution.

I hope someone knows how to do it.