Closed ntaylor2 closed 6 years ago
@ntaylor2 Do you mean your codebase doesn't have any reference to GoogleSignInOptions
?
Yes, it appears that's the case. When debugging I can see that com.google.android.gms.auth.api package is defined but the com.google.android.gms.auth.api.signin package is not.
@ntaylor2 I really don't follow. Could you confirm if this issue persists using the demo app? or can you create a repo reproducing the same issue?
@jogboms I'm closing this issue. When I started building a sample app to show you the issue, it magically started working. I love it when that happens :)
Hi, I'm working on a Nativescript (Angular) project using the nativescript-social-login plugin for simple Google authentication on android. Currently running NS 3.4.2 and social-login 3.0.8.
I have walked through the setup steps on your getting started page, but am getting the following error when calling SocialLogin.loginWithGoogle
ERROR TypeError: Cannot read property 'GoogleSignInOptions' of undefined
Any idea what could be causing this issue? I have code in my main.ts file to init nativescript-social-login as follows:
Here is my code to call login after clicking a button in the app:
Any help would be greatly appreciated. Let me know if you require more information.