google-plus-signin

How to change title of Google Plus Sign in button?

旧时模样 提交于 2019-12-12 10:44:20
问题 I was searching for solution but to my suprise nobody asked this question yet: How to change title of Google Sign In button? I was trying to: override title by setTitle: but didn't help. find "Sign in" string in Google Plus framework directory but well... my Finder didn't find such string. 3.Use following code which works for changing Facebook Login button: for (id obj in self.signInButtonGPP.subviews) { if ([obj isKindOfClass:[UILabel class]]) { UILabel * label = view; label.text = @"Google"

google plus login not working after put a play store in android

↘锁芯ラ 提交于 2019-12-12 03:59:48
问题 I have created google plus signed Apk and after put a play store.Then download the application google plus login not working in android.How to solve this problem 回答1: Probably your production key and debug key difference, make sure you put both keys in your google-json file and both keys in console.google google+plus api correctly, use gradle build to get the SHA and MD5 correctly 来源: https://stackoverflow.com/questions/44946528/google-plus-login-not-working-after-put-a-play-store-in-android

Which google jar files to compile when using these import

落爺英雄遲暮 提交于 2019-12-12 02:24:20
问题 First i was using compile 'com.google.android.gms:play-services:9.0.2 so i was getting an error message now i am using compile 'com.google.android.gms:play-services-maps:9.0.2' compile 'com.google.android.gms:play-services-auth:9.0.2' compile 'com.google.android.gms:play-services-gcm:9.0.2' But still these import file need some compile file to import these lib. import com.google.android.gms.location.LocationRequest; import com.google.android.gms.location.LocationServices; import com.google

Class 'Google\Auth\OAuth2' not found

孤者浪人 提交于 2019-12-11 20:23:01
问题 I was trying to add google plus login to my web but I encountered this error which seems really weird because I have the file already added. I already enable vendor/autoload (Im using codeigniter) Anyone had this kind of error before? How did you fix this? A PHP Error was encountered Severity: Error Message: Class 'Google\Auth\OAuth2' not found Filename: Google/Client.php Line Number: 929 Backtrace: 回答1: I assume you are using this package. Did you install it via composer ? It has several

Google plus login from one activity and logout from second activity by clicking the logout button in second activity

夙愿已清 提交于 2019-12-11 10:01:15
问题 Google plus login from one activity (this activity stored the login details in shared preference) and logout from another activity (this activity retreives the login details).Logout activity has the logout button. My issue:I need to login from first activity (AndroidGooglePlusExample) and the login details (username,userimage,emailid) are stored in shared preference. I retreive these values in second activity(HomePage), and display it there, and from this second activity I need to logout on

Retrieve phone number from a signed in user profile from google plus login in android

久未见 提交于 2019-12-11 02:00:17
问题 I need to retrieve phone number from a signed in user profile from google plus after login in android. Currently by referring to https://developers.google.com/+/mobile/android/people#retrieve_profile_information_for_a_signed_in_user. I got basic profile information. But what actually require is phone number. Is it possible / are they providing any way. 回答1: I dont think, currently there is option for fetching phone number . You can go through Plus.PeopleApi.getCurrentPerson. 来源: https:/

“Unregistered Android application” text is displayed in User profile info permission dialog

徘徊边缘 提交于 2019-12-10 17:29:10
问题 I have integrated Google sign-in in my application. I am able to successfully login every time but when I have added new google account in the device and try to login with that, I see the attached pop up dialog. I don't understand why it says "Unregistered android application". How to register the application in that case? Attached pop up dialog : Attached Image for Reference I am using the following code : try { String token = GoogleAuthUtil.getToken(mActivity, mEmail, "oauth2:https://www

Ionic iOS App Error - Custom Scheme URIs are not allowed for 'WEB' client type

亡梦爱人 提交于 2019-12-10 12:43:54
问题 I am using this plugin. https://github.com/EddyVerbruggen/cordova-plugin-googleplus The implementation works fine for android. But google sign in on iOS opens safari webview and throws 400 invalid_request. I am using the ios client id and reverse client id generated on google developer console. Anyways to debug or know what the issue is? 回答1: The usual cause of this error is having an incorrect REVERSE_CLIENT_ID. Double check that you have the REVERSE_CLIENT_ID from the plist file downloaded

Sign out from google and facebook in android application

我的未来我决定 提交于 2019-12-09 04:13:43
问题 I have integrated google and facebook sign up using their respective methods. But after successful signing, I want to open different activity and similarly user can go to various different activities. I have used action bar where I am giving an option to sign out from either of the account that the user has logged in. How could I sign out the user when I am in different activity then the main activity. I am getting an exception and I am not able to pass apiclient reference (for google) and

How to show google plus profile picture on navigation drawer?

冷暖自知 提交于 2019-12-07 16:57:36
问题 The below code is from github to log in via gmail in android app.I did some modification to show profile picture using volley. Its working fine. I just want to shows these things in navigation drawer. Profile picture,name and email id. I used the navigation drawer activity present in android studio. I just tried to send these things using bundle to send to another activity but failed. Drawable drawable=profilePhoto.getDrawable(); Bitmap bitmap= ((BitmapDrawable)drawable).getBitmap();