Reputation: 194
I'm trying to implement google sign in for my capacitor / firebase app for the iOS Platform. I'm using the @capacitor-firebase/authentication
package.
I've followed all the instructions here: https://github.com/capawesome-team/capacitor-firebase/blob/main/docs/firebase-setup.md#ios
and here: https://firebase.google.com/docs/auth/ios/google-signin
Read through the demo here: https://github.com/robingenz/capacitor-firebase-authentication-demo/blob/main/ios/App/Podfile
Tried all the troubleshooting tips here: https://capawesome.io/blog/troubleshooting-capacitor-ios-issues/#plugin-is-not-implemented
Read all the stackoverflow / github issues that talk about a "plugin is not implemented on ios". (Most just say to npx cap sync ios
which I do every time I build, and I've guaranteed that the FirebaseAuth Pod exists)
But I still get this error when trying to use FirebaseAuthentication.signInWithGoogle()
in my app.
Error: "FirebaseAuthentication" plugin is not implemented on ios
I've checked a dozen times that This is in my capacitor.config.ts:
plugins: {
FirebaseAuthentication: {
skipNativeAuth: false,
providers: ["google.com"],
},
},
This is in my Podfile
target 'App' do
capacitor_pods
# Add your Pods here
pod 'CapacitorFirebaseAuthentication/Google', :path => '../../node_modules/@capacitor-firebase/authentication'
end
And this is in my AppDelegate.swift file: FirebaseApp.configure()
.
Any tips would be appreciated.
Upvotes: -1
Views: 33