Skip to content
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

Getting build error on iOS after adding capacitor-firebase-auth #186

Open
josematoswork opened this issue Aug 26, 2021 · 1 comment
Open

Comments

@josematoswork
Copy link

I followed the guide and when I try to build for iOS always get this error:

"cannot find type 'GIDSignInDelegate' in scope

class GoogleProviderHandler: NSObject, ProviderHandler, GIDSignInDelegate {"

My capacitor.config.json look like this

{
"appId": "com.xxx.yyy",
"appName": "AppName",
"bundledWebRuntime": false,
"npmClient": "npm",
"webDir": "www",
"plugins": {
"CapacitorFirebaseAuth": {
"providers": ["google.com", "apple.com", "facebook.com"],
"languageCode": "en",
"nativeAuth": true,
"properties": {
},
"permissions": {
"google": ["email", "profile"],
"facebook": ["email"],
"apple": ["fullName", "email"]
}
}
}
}

my packges version:
"dependencies": {
"@angular-devkit/architect": "^0.1201.4",
"@angular/common": "~12.1.5",
"@angular/core": "~12.1.5",
"@angular/fire": "^6.1.4",
"@angular/forms": "~12.1.5",
"@angular/platform-browser": "~12.1.5",
"@angular/platform-browser-dynamic": "~12.1.5",
"@angular/router": "~12.1.5",
"@angular/service-worker": "^12.1.5",
"@azure/ms-rest-js": "^2.2.3",
"@capacitor/android": "3.1.2",
"@capacitor/app": "^1.0.2",
"@capacitor/browser": "^1.0.2",
"@capacitor/camera": "^1.0.3",
"@capacitor/cli": "^3.2.0",
"@capacitor/core": "^3.2.0",
"@capacitor/device": "^1.0.2",
"@capacitor/haptics": "^1.0.2",
"@capacitor/ios": "3.1.2",
"@capacitor/keyboard": "^1.0.2",
"@capacitor/push-notifications": "^1.0.3",
"@capacitor/splash-screen": "^1.1.0",
"@capacitor/status-bar": "^1.0.2",
"@fortawesome/angular-fontawesome": "^0.9.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@ionic-native/core": "^5.35.0",
"@ionic-native/device": "^5.35.0",
"@ionic-native/file": "^5.35.0",
"@ionic-native/firebase-analytics": "^5.35.0",
"@ionic-native/geolocation": "^5.35.0",
"@ionic-native/health": "^5.35.0",
"@ionic-native/network-interface": "^5.35.0",
"@ionic-native/social-sharing": "^5.35.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.35.0",
"@ionic/angular": "^5.6.13",
"@ionic/pwa-elements": "^3.0.2",
"@ionic/storage": "^2.3.1",
"ajv": "^5.5.2",
"capacitor-firebase-auth": "^3.0.0",
"chart.js": "^3.5.0",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-firebase-analytics": "^5.0.0",
"cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-health": "^2.0.3",
"cordova-plugin-networkinterface": "^2.0.0",
"cordova-plugin-x-socialsharing": "^6.0.3",
"cordova-support-android-plugin": "^1.0.2",
"es6-promise-plugin": "^4.2.2",
"firebase": "^8.9.0",
"hammerjs": "^2.0.8",
"ionic-angular": "3.9.10",
"ionicons": "^5.5.3",
"material-icons": "^1.1.1",
"moment": "^2.29.1",
"ngx-image-cropper": "^3.3.5",
"rollbar": "^2.22.0",
"rxjs": "~6.6.7",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
}

Any insights for this ?

Thanks

@alexookah
Copy link

The Google Sign is updated but is currently in RC release.
You can install the latest rc release and try it out with the following::
npm install --save capacitor-firebase-auth@v3.1.2-rc.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants