While on iOS the googleSignIn property is requiring the GoogleService-Info.plist and retrieving the clientID from that file.
And it's also assigning a value to googleSignIn.serverClientID which is not needed when just using the google cloud client id
A simple if statement and a capacitor.config.json option on which credentials to use would solve this
@albert-mllrdev I have the same issue since I use Firebase and separate PeopleAPI Call I need both options as well. Did you find a workaround until this gets fixed ?
Currently the plugin is dependent on credentials from https://firebase.google.com/ and won't work with just credentials from https://console.cloud.google.com/
On
Android
, this is due to thegoogleSignInBuilder
having this two methodsWhile on
iOS
thegoogleSignIn
property is requiring theGoogleService-Info.plist
and retrieving theclientID
from that file. And it's also assigning a value togoogleSignIn.serverClientID
which is not needed when just using thegoogle cloud client id
A simple if statement and a capacitor.config.json option on which credentials to use would solve this