From 1439d531060a29cb9e4a05c5d5fd9e4d92a7f436 Mon Sep 17 00:00:00 2001 From: Hazim Bin Ijaz Date: Fri, 9 May 2025 18:21:20 +0500 Subject: [PATCH] Added debug to see auth code --- Assets/GoogleSigninSDK/GoogleSignInManager.cs | 1 + Assets/Scripts/Dev/GameConstants.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Assets/GoogleSigninSDK/GoogleSignInManager.cs b/Assets/GoogleSigninSDK/GoogleSignInManager.cs index 41af25db..d5513b93 100644 --- a/Assets/GoogleSigninSDK/GoogleSignInManager.cs +++ b/Assets/GoogleSigninSDK/GoogleSignInManager.cs @@ -130,6 +130,7 @@ public class GoogleSignInManager : MonoBehaviour GoogleSignInUser user = task.Result; string authCode = user.AuthCode; + Console.WriteLine($"[GoogleSignInManager]: authCode: " + authCode); SafePlayerPrefs.SetString("GoogleAuthCode", authCode); PlayerPrefs.Save(); diff --git a/Assets/Scripts/Dev/GameConstants.cs b/Assets/Scripts/Dev/GameConstants.cs index dc0cc772..540aa7e3 100644 --- a/Assets/Scripts/Dev/GameConstants.cs +++ b/Assets/Scripts/Dev/GameConstants.cs @@ -16,6 +16,7 @@ public class GameConstants public static string iOS_ClientID = "1021701058525-vp54583d95oknnamu739smqfihhoivnk.apps.googleusercontent.com"; public static string iOS_URL_Scheme = "com.googleusercontent.apps.1021701058525-vp54583d95oknnamu739smqfihhoivnk"; + public static string Web_ClientID = "1021701058525-72qg4sbvqv3m3q7it4eck2h86ekoflla.apps.googleusercontent.com"; public static string AndroidURL = "https://play.google.com/store/apps/details?id=com.rizze.pipuzzle&hl=en-US&ah=gfIMAf3ZQA42PzRKpRnkmyC0Sek&pli=1";