Google Sign In Canceled in IOS

Hi all,

i use google-signin-unity plugin and update it according to this link Update iOS pod to >= 5.0.0 and apply migrations for native plugin code. · lukezbihlyj/google-signin-unity@acaaf79 · GitHub

In android everything is fine,
but while i click to sign in button in ios app i get pop-up saying “app” wants to use “google.com” to Sign In ;
but it close after 1 second everytime and i cannot click “Continue”

I also use facebook plugin for ios and it works fine both in Android and IOS. But google sign in behave like i mentioned above in IOS app.

I tried several solutions from my google search but still it is not working for me. Is there anyone saw and solved this problem in Unity for IOS app before?

In xcode debug i get below error;


didSignInForUser: The user canceled the sign-in flow.

Task is Canceled

c__AnonStorey0:<>m__0(Task`1)

System.Threading.Tasks.<>c__DisplayClass4_0:b__0(Task)

System.Threading.Tasks.<>c__DisplayClass22_0:b__0(Task)

System.Threading.Tasks.<>c__DisplayClass20_1`1:b__2()

System.Threading.Tasks.<>c:<.cctor>b__32_1(Action)

System.Threading.Tasks.Task`1:RunContinuations()

System.Threading.Tasks.Task`1:TrySetCanceled()

System.Threading.Tasks.TaskCompletionSource`1:SetCanceled()

Google.c__Iterator0:MoveNext()

UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)

Hi, did you find any solution for this issue?

Hi,

i tried several solutions not only in unity but also in xcode, but no.

Hello my friend, I faced the same problem as yours and I searched for a long time to find a solution and finally found a solution and I created a video explaining the steps but in Arabic, you can follow the steps to solve your problem

cheers :slight_smile:

1 Like

Thanks man. I was struggling and this really works.