google-signin

Cannot resolve symbol default_web_client_id GoogleSignInOptions Android Firebase

寵の児 提交于 2019-12-19 03:58:44
问题 My project works fine for last six month and app in play store. For an update, I reopen the project shows default_web_client not resolved for the following piece of code. GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestIdToken(getString(R.string.default_web_client_id)) .requestEmail() .build(); I try the following methods, 1.Clean and rebuild 2.Clear cache and restart 3.Set getString(R.string.default_web_client_id) as empty string and run

Silent Google Sign In in android background service

强颜欢笑 提交于 2019-12-18 16:34:15
问题 I am running a background service in my android app. I use the IdToken that I get from the sign in activity to authenticate at the backend server. The service is running in START_STICKY mode, so even when the app is closed, the service keeps running in the background to get any notifications from the backend server. The problem I'm facing is when the IdToken expires, I am not able to renew it in the service itself. The callback function does not receive any result if the token has expired. If

Cannot resolve symbol 'Auth' for google integration in android studio

元气小坏坏 提交于 2019-12-18 14:19:31
问题 i am new in androidstudio. i have done integration of google in eclipse but am having issues in studio. i am following step by step from this site : https://developers.google.com/identity/sign-in/android/sign-in?configured=true but i am having an issue. i am getting an error that Cannot resolve symbol 'Auth' which i need for API and also cannot resolve 'SignInButton', see the code: import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.google.android.gms.auth

Get access token on server side javascript (nodejs) using google authorization code received from client side

二次信任 提交于 2019-12-18 13:27:50
问题 i have gone through this documentation :- https://developers.google.com/identity/sign-in/web/server-side-flow At the last step it receives the authorization code and after that it shows the example of receiving access token and refresh token using java or python libraries, but i cant find any similar example in nodejs. How can i replicate the same example using nodejs? Can't i just send a post or get request to some google oauth api and receive the access token using authorization code?

Android: How to get Refresh Token by Google Sign-In API?

元气小坏坏 提交于 2019-12-18 11:53:54
问题 Currently, I am working on the application where user able to login with Google. As part of the login process, we need to send Google ACCESS TOKEN and REFRESH TOKEN to server end. I am retrieving access token by the following method, mAccountName = googleSignInAccount.getEmail(); String scopes = "oauth2:profile email"; String token = null; try { token = GoogleAuthUtil.getToken(activity.getApplicationContext(), mAccountName, scopes); } catch (IOException e) { Logger.eLog(TAG, e.getMessage());

GIDSignInUIDelegate Methods to getting called

拥有回忆 提交于 2019-12-18 09:38:24
问题 I have a view controller on a navigation stack (2nd child). Controller is setup as GIDSignInDelegate and GIDSignInUIDelegate. After triggering sign-in, every delegate method expected to be called, is called, except for: func sign(_ signIn: GIDSignIn!, present viewController: UIViewController!) and func sign(_ signIn: GIDSignIn!, dismiss viewController: UIViewController!) Note that in viewDidLoad I have assigned the view controller to be the delegate and ui delegate. Also, after dismissing the

How do you integrate the new Google Sign-In on a Xamarin.Android app?

隐身守侯 提交于 2019-12-18 05:00:13
问题 I am attempting to follow Google's instructions on how to add the new Google Sign-In (not the old Google+ Sign-In) to my Xamarin.Android app. For the life of me, I cannot find the correct Google Play Services NuGet package or Xamarin component that supports the new sign-in system. When I add the following code to the activity, I get "The type or namespace 'GoogleSignInOptions' could not be found. Are you missing an assembly reference?" build error. // Configure sign-in to request the user's

Google Sign In not working on iOS 10 Beta 7 with Xcode 8 beta 6

倾然丶 夕夏残阳落幕 提交于 2019-12-18 02:43:08
问题 I have an app in the app store which worked perfectly fine till first few betas of iOS 10 (i am not exactly sure which one). It also works perfectly fine on iOS 9.3. However I am not testing on iOS 10 beta 7 and the google sign in is completely broken. I am using the latest version of GIDSignIn from cocoapods . Here's my code: [GIDSignIn sharedInstance].clientID = [[ParseFetcher sharedInstance] getRandomParseK]; [GIDSignIn sharedInstance].delegate = sharedInstance; [GIDSignIn sharedInstance]

Google Sign In not working on iOS 10 Beta 7 with Xcode 8 beta 6

落爺英雄遲暮 提交于 2019-12-18 02:42:35
问题 I have an app in the app store which worked perfectly fine till first few betas of iOS 10 (i am not exactly sure which one). It also works perfectly fine on iOS 9.3. However I am not testing on iOS 10 beta 7 and the google sign in is completely broken. I am using the latest version of GIDSignIn from cocoapods . Here's my code: [GIDSignIn sharedInstance].clientID = [[ParseFetcher sharedInstance] getRandomParseK]; [GIDSignIn sharedInstance].delegate = sharedInstance; [GIDSignIn sharedInstance]

Duplicate symbols when integrating Firebase and Google Sign In SDKs manually without Cocoapods

馋奶兔 提交于 2019-12-17 22:22:57
问题 I am getting duplicate symbols error when integrating Firebase and Google Sign In SDKs manually in my existing iOS project. The related SO question here didn't help as it uses Cocoapods. Firebase and Google Signin giving duplicate symbols error Steps I have taken in chronological order: Copied Analytics, Auth and Database folder along with Firebase.h file from the downloaded Firebase SDK (3.11.0) into my project and added to targets. Copied the GoogleService-Info.plist into the project and