google-login

iOS Swift : error with google login

左心房为你撑大大i 提交于 2019-12-01 15:22:20
I was following this tutorial to add google sign in in my iOS app using swift. I followed all the steps as mentioned but when I try to build app then it is giving me an issue in my appdelegate.swift file. func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { var configureError: NSError? GGLContext.sharedInstance().configureWithError(&configureError) assert(configureError == nil, "Error configuring Google services: \(configureError)") GIDSignIn.sharedInstance().clientID = "client id" return true } so below line of code

iOS Swift : error with google login

旧时模样 提交于 2019-12-01 14:09:26
问题 I was following this tutorial to add google sign in in my iOS app using swift. I followed all the steps as mentioned but when I try to build app then it is giving me an issue in my appdelegate.swift file. func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { var configureError: NSError? GGLContext.sharedInstance().configureWithError(&configureError) assert(configureError == nil, "Error configuring Google services: \

Google Sign In error Status{statusCode=DEVELOPER_ERROR, resolution=null} from same play store app not from same signed apk

你说的曾经没有我的故事 提交于 2019-12-01 05:11:36
I think this is a bug in android, android studio or google. I am able to login to google through the signed apk. But If I upload the same apk on play store it says me Status{statusCode=DEVELOPER_ERROR, resolution=null} . I want to know how can it be possible that I am not able to login from the app downloaded from the Play Store and I am able to login when I use the same apk from my PC which I have uploaded to play store. This should not be DEVELOPER_ERROR this should be ANDROID_ERROR, GOOGLE_ERROR or HOW_TO_IRRITATE_DEVELOPER_BY_ANDROID. Any suggestions on how to resolve this ANDROID_ERROR

What does the RC_SIGN_IN means in googleplus login

家住魔仙堡 提交于 2019-12-01 02:42:52
I need to add login with google plus button to my app. I followed google's documentation in this Link . But in signin method there is a value called RC_SIGN_IN . I do not know what are the values I should assign to RC_SIGN_IN . RC_SIGN in is the request code you will assign for starting the new activity. this can be any number. When the user is done with the subsequent activity and returns, the system calls your activity's onActivityResult() method. and that method will be like : @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // Check which request we

Google Sign In error Status{statusCode=DEVELOPER_ERROR, resolution=null} from same play store app not from same signed apk

痞子三分冷 提交于 2019-12-01 02:30:02
问题 I think this is a bug in android, android studio or google. I am able to login to google through the signed apk. But If I upload the same apk on play store it says me Status{statusCode=DEVELOPER_ERROR, resolution=null} . I want to know how can it be possible that I am not able to login from the app downloaded from the Play Store and I am able to login when I use the same apk from my PC which I have uploaded to play store. This should not be DEVELOPER_ERROR this should be ANDROID_ERROR, GOOGLE

iOS: GPPSignInButton always asks for “Have offline access” Permission

倖福魔咒の 提交于 2019-11-30 17:56:44
问题 I've set up the GPPSignInButton based on the following: https://developers.google.com/+/mobile/ios/sign-in#enable_server-side_api_access_for_your_app let googleSignIn = GPPSignIn.sharedInstance() googleSignIn.clientID = GoogleClientID googleSignIn.attemptSSO = true googleSignIn.homeServerClientID = GoogleServerClientID googleSignIn.scopes = ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.profile.emails.read"] googleSignIn.delegate = self googleSignInButton

Google login uses same account everytime users login

匆匆过客 提交于 2019-11-30 14:13:30
I use OAuth to let users sign in to the android app via Google account. When the user taps the Google login button for the first time, it produces a dialog to choose the account. Again, when the user logs out and decides to login with different Google account, it doesn't prompt to choose the account, it logs in the account the user had chose the previous time ' @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.login); initialize(); Firebase.setAndroidContext(this); ref=new Firebase("https://texter10c.firebaseio.com");

iOS Facebook and Google login at the same time?

自古美人都是妖i 提交于 2019-11-29 08:27:25
I'm trying to implement google+ and facebook sign ins in the same app. I followed the instructions by Parse and Google and I first successfully implemented Facebook login. Then I started to follow the google instructions. After doing that, now I'm having these 2 functions in my AppDelegate.swift file: For google: func application(application: UIApplication, openURL url: NSURL, options options: [String: AnyObject]) -> Bool { return GIDSignIn.sharedInstance().handleURL(url, sourceApplication: options[UIApplicationOpenURLOptionsSourceApplicationKey], annotation: options

Failed to connect to www.googleapis.com port 443: Network unreachable

心不动则不痛 提交于 2019-11-29 08:14:30
I'm trying to implement google sign-in in my website that is written in Symfony2 using Google Client API . I followed the instructions here , but when I call $client->authenticate($code); command an exception is thrown telling that: Failed to connect to www.googleapis.com port 443: Network unreachable What is the problem? Solution 2 (from update). it seems to be some bug with ipv6 interfaces and curl with php, so another solution is to set the appropiate option in curl function to connect to the remote server with ipv4 in your php script curl_setopt( $curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4

Meteor Accounts.ui.config not working with Google

与世无争的帅哥 提交于 2019-11-29 07:27:27
I am simply trying to log in with Google and get the permissions for Calendar, etc. However, my code in the client only prompts user signing in for offline access. Why is it not asking for the calendars, etc.? Also, it is not forcing the approval prompt. I'm using ian:accounts-ui-bootstrap-3 Accounts.ui.config({ requestPermissions: { google: ['https://www.googleapis.com/auth/calendar', 'https://www.googleapis.com/auth/calendar.readonly', 'https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email', 'https://www.googleapis.com/auth/tasks'], //