google-signin

Google multiple login using GIDSignin

半世苍凉 提交于 2019-12-13 12:24:28
问题 I can do authentication for single account using GIDSignIn by below code. GIDSignIn *googleSignIn = [GIDSignIn sharedInstance]; googleSignIn.delegate = self; googleSignIn.uiDelegate = self; googleSignIn.clientID = (NSString*)cGmailAppClientId; googleSignIn.scopes = [self getGmailAuthenticationScopes];; [googleSignIn signIn]; But GIDSignIn is shared instance. It is for an only one account. How can I add multiple accounts? Multiple accounts should accessible concurrently (Ex getting access

duplicate symbols for architecture x86_64 for GoogleSignIn and GoogleMobileVision

别来无恙 提交于 2019-12-13 09:05:31
问题 not sure if there is anything I can do to fix this? duplicate symbol _OBJC_IVAR_$_MDMPasscodeCache._localAuthenticationInfo in: /Users/USER_NAME/PROJECT/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Users/USER_NAME/PROJECT/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) duplicate symbol _OBJC_IVAR_$_MDMPasscodeCache.

Android Google sign in not working on another computer

独自空忆成欢 提交于 2019-12-13 07:20:26
问题 I have generated google-services.json with my SHA-1, created web and android OAuth tokens (use web in .requestIdToken() method). And everything working like a charm. But when colleagues pull it from git, error 12501 is here ... Should they create their own google-services.json by their SHA, or where is the problem? 回答1: Follow these steps: Generate the SHA-1 from your friend's device Go to the Google Console Open your application's credentials page Open the Android Key list item Add the new

Google SignIn returns Current user as null

若如初见. 提交于 2019-12-13 03:54:03
问题 I am using google login for my Xamarin iOS app, however after successfully entering the username and password in the safari browser prompt that appears, It returns properties CurrentUser as null. My Code: Google.SignIn.SignIn.SharedInstance.Delegate = this; Google.SignIn.SignIn.SharedInstance.UIDelegate = this; Google.SignIn.SignIn.SharedInstance.SignInUser(); Google.SignIn.SignIn.SharedInstance.SignedIn += SharedInstance_SignedIn; private void SharedInstance_SignedIn(object sender,

Google SignIn not working

旧巷老猫 提交于 2019-12-13 02:21:56
问题 I have an Android app for a customer, who wishes the users be able to log in via Google. So far, I have implemented the Google SignInButton, the GoogleSignInOptions, and the GoogleApiClient. However, when I try to log in with: googleApiClient.connect(GoogleApiClient.SIGN_IN_MODE_REQUIRED); the application force quits as soon as it is opened with following exception: E/AndroidRuntime: FATAL EXCEPTION: main Process: de.nwt.slottynative, PID: 24509 java.lang.RuntimeException: Unable to start

Android google Sign In always shows handleSignInResult:false

馋奶兔 提交于 2019-12-12 19:58:13
问题 I was creating a sample google sign in app and i tried the code from google samples. Im stuck at , when i press sign in, it prompts to select accounts, but after selecting my account,nothing happens.. Log shows handleSignInResult:false Note:- Sometimes logcat shows the below error E/SignInActivity: handleSignInResult:false E/SignInActivity: handleSignInResult:false V/Activity: calling onResume for activity: W/art: Suspending all threads took: 40.222ms E/WindowManager: android.view

React Unable to perform Google Sign In, no errors are visible

我与影子孤独终老i 提交于 2019-12-12 18:31:08
问题 My original challange started with gapi is not defined when loading React Component. This has helped me reach to part where I see Google Sign In screen and also interact with it as However, when I click on the account, the Google Page goes away and nothing happens, no consent screens, no error . I am using Yarn and my application runs on port 3000 . My React Component looks like /* global gapi */ import React from 'react'; class LoginButton extends React.Component { constructor(props) { super

error code when using GIDSignIn.sharedInstance.clientID =

北战南征 提交于 2019-12-12 12:26:55
问题 I have an app which I used to use Auth2 to sign in using a client Id and client secret but now I have to use Google Sign In I have followed the instructions as I understand them but when I build I get this error -[__NSDictionaryI gtm_httpArgumentsString]: unrecognized selector sent to instance 0x17d49a40 I have added the framework I have imported the headers I have made a separate GoogleServices-info.plist with CLIENT_ID and REVERSED_CLIENT_ID I have put the following code in my ViewDidLoad

Google Sign-in not working after releasing signed APK in Alpha testing

血红的双手。 提交于 2019-12-12 12:01:54
问题 I Had problem in sign in for google. I had installed the release build manually its working , but if I install it from play store I am getting sign in failed. W/Auth: [Get Token] Get Token failed with status code: UNREGISTERED_ON_API_CONSOLE E/TokenRequestor: You have wrong OAuth2 related configurations, please check. Detailed error: UNREGISTERED_ON_API_CONSOLE E/SignInActivity: Google Sign In failed. Code snippet: GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions

Could not configure Firebase InstanceID

馋奶兔 提交于 2019-12-12 10:39:47
问题 hi I'm trying to include firebase in my app and followed the documentation, when I'm trying to do google sign in, Could not configure Firebase InstanceID error occurs .please advice how to overcome this error 回答1: You have to add your project which is created on https://developers.google.com/mobile/add?platform=ios or fire base console into your Firebase dashboard. Now you can download GoogleService-Info.plist from Firebase and import into your project. 回答2: There are two things to check (and