Open MNorgren opened 3 years ago
I think I may have resolved a workaround by adding the following to my pod file: pod 'GoogleSignIn', '~> 5.0.2'
target 'App' do
capacitor_pods
# Add your Pods here
# add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
# Add the pods for any other Firebase products you want to use in your app
# For example, to use Firebase Authentication and Cloud Firestore
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
# Add the pod for Firebase Cloud Messaging
pod 'Firebase/Messaging'
pod 'GoogleSignIn', '~> 5.0.2'
end
If anyone has other suggestions, please let me know. /thanks!
@MNorgren We are also having the same issue on our build as well. I will try your suggested solution and see if it works :) Thanks for sharing
@MNorgren Thanks It worked.
Ty, I had the same issue and it also worked for me!
I just encoutered the same issue but the workaround suggested by @MNorgren did not work 😢 Any chance anyone got an idea about I'm missing here or another suggestion to fix this ?
Cheers !
Hi. Same problem here. Solved by downgrading to 5.0.2. Any plan to update the code for 6.0.0? Thanks
Can someone test my PR that should work for version 6.0.0? https://github.com/baumblatt/capacitor-firebase-auth/pull/184
Use this in your package.json to test my branch
"capacitor-firebase-auth": "github:alexookah/capacitor-firebase-auth#next",
Thanks
Thank you @MNorgren adding pod 'GoogleSignIn', '~> 5.0.2'
in Podfile
solves my problem
v3.0.0-rc.0 Angular 11
It appears, since yesterday, my builds have been failing in relation to the GoogleProviderHandler.
I have been digging into this for the past couple hours and have found that the Pod GoogleSignIn was just released yesterday with v6.0.0
I see that capacitor-firebase-auth does not specify a version of GoogleSignIn, and I am not familiar enough with pod files to figure it out.
Any suggestions?
❌ /Users/runner/work/1/s/node_modules/capacitor-firebase-auth/ios/Plugin/Handlers/GoogleProviderHandler.swift:8:57: cannot find type 'GIDSignInDelegate' in scope class GoogleProviderHandler: NSObject, ProviderHandler, GIDSignInDelegate { ^
~~~❌ /Users/runner/work/1/s/node_modules/capacitor-firebase-auth/ios/Plugin/Handlers/GoogleProviderHandler.swift:17:19: cannot call value of non-function type 'GIDSignIn' return GIDSignIn.sharedInstance()?.currentUser != nil