-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS M1 Mac/Tablets Fails to Initialize #363
Comments
Has there been any update regarding this issue? @fullstackduck |
I believe this error prevents M1 and M2 processors to run this plugin. |
I also get this error running Angular 18, Ionic 8 and Capacitor 6. The Google Auth worked great until I upgraded Angular and Ionic. Now I get the error: CodetrixStudioCapacitorGoogleAuth/Plugin.swift:74: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value Any updates on this? |
Some tablets have this issue, too because run on M1 processors. |
Hey, is this issue resolved? Or any idea for that? My app is crashing randomly during signOut process. Or maybe have you another ways to allow login on multiple account? Angular 17 |
Got the same error on line 74, CodetrixStudioCapacitorGoogleAuth/Plugin.swift:74: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value Solved calling Previous versions, it was called only when in web. Now, I call when in iOS too. |
Yes, thats true, in new version you have to call initialize() on mobile as well. |
I finally found the issue to the "found nil" error.. I had to update the Cocoa Pod on iOS. In the Podfile make sure you're at AppAuth 1.7.5 and GoogleSignIn 6.2.4 and Firebase 10.28.1 |
I had a similar issue with the sign out. I found that the GoogleAuth.signOut() wasn't enough, it still seemed to cache the user and kept automatically signing back it. Hope that helps |
I used both but |
Hey, here is what I used for my authentication service: The service allows for Email, Apple or Google authentication, then creates or loads a profile for the user.
|
Unfortunately, none of the solutions above worked for me. I am using vue? How can we clear the cache for this plugin via vue? |
I have just found the following solution: await GoogleAuth.initialize({}); await GoogleAuth.initialize({}); I need to call these two always together. |
Spent hours dealing with "CodetrixStudioCapacitorGoogleAuth/Plugin.swift:74: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value". Nothing worked from this topic tips. The solution was to add iosClientId to GoogleAuth block in capacitor.config.ts file with value from Google OAuth iOS client id. |
Great catch @ivarsmednis ! I forgot that I had done that as well.. |
I am getting this error when trigger
GoogleAuth.signOut()
6.0.0
3.4.0 rc.4
The text was updated successfully, but these errors were encountered: