https://www.androidhive.info/2014/02/android-login-with-google-plus-account-1/

I did everything as per the link above. In the handleSignInResult method, it means that I have not logged into the account. Although the phone confirms that it has entered, what’s wrong ??

fun handleSignInResult(result:GoogleSignInResult ){ Log.i("Google", "handleSignInResult:" + result.isSuccess()); if (result.isSuccess) { val acct:GoogleSignInAccount = result.signInAccount!! Log.i("Google", "Name: " + acct.displayName + ", familyName: " + acct.familyName + ", Image: " + acct.photoUrl.toString()); } else {//Не вошел Log.i("Google", "не зашел") error("Google не зашел") } } 
  • Check more result.getStatusCode() that returns - woesss
  • I think I figured out what the problem is with the input: Status {statusCode = DEVELOPER_ERROR, resolution = null} And do not tell me where to get the name, last name and picture of the incoming user? - chilo5432

0