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 не зашел") } }
result.getStatusCode()that returns - woesss