#1
I wrote the code above to receive a new session ticket within 24 hours.
(using Unity + Play Store Mobile + Google Login)
But the code above doesn't seem to work.
When the playtime of my game users exceeds 24 hours, there is a situation where the data cannot be saved.
Is there a problem with my code?
It is an emergency problem.
' Social.localUser.Authenticate(); '
Should I use this function only the first time I log in?
When I log in again, Should I just call PlayFabClientAPI.LoginWithGoogleAccount()?
But that api requires ServerAuthCode.
Do I need to call Google API again to get ServerAuthCode?
(call Social.localUser.Authenticate(); again and call .GetServerAuthCode())
(Parameter required when calling LoginWithGoogleAccount)
#2
var serverAuthCode = PlayGamesPlatform.Instance.GetServerAuthCode();
1. In the above Google API code, does serverAuthCode have an expiration date? (Like PlayFab's session ticket)
2. If there is no expiration period, can i reuse the previous authcode?
To test the code above, I have to upload it to Google Play, so it will take a long time, so I ask you a question.