hansemannn / titanium-firebase-auth

Use the Firebase Autentication SDK in Axway Titanium 🚀
Other
7 stars 8 forks source link

createAuthCredential for Google Provider type had mismatched parameters #18

Closed grantges closed 3 years ago

grantges commented 3 years ago
grantges commented 3 years ago

If you look at the function for creating the googleAuthProvider credential - it requires the IDToken and the access token.

The calls to the underlying native lib were passing in the accessToken and the secretToken There is no secretToken returned from the google sign in. Only IDToken and accessToken.

hansemannn commented 3 years ago

Release: https://github.com/hansemannn/titanium-firebase-auth/releases/tag/ios-3.0.0

grantges commented 3 years ago

@hansemannn - getting an error when trying to compile with that latest release.

[ERROR] BUILD FAILED [ERROR] The following build commands failed: [ERROR] Ld /Users/bert/Repos/titanium/FirebaseTestApp/build/iphone/build/Intermediates/FirebaseTestApp.build/Debug-iphonesimulator/FirebaseTestApp.build/Objects-normal/x86_64/Binary/FirebaseTestApp normal x86_64 [ERROR] (1 failure)

Process exited with 1