i want to get the full quality photo from GoogleSignInAccount (ANDROID STUDIO).
This is what i want URL = Photo1
This is what i get URL = Photo2
Does anyone know what I should do? // CODE
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestIdToken(getString(R.string.default_web_client_id))
.requestEmail()
.requestProfile()
.build();
// i implement a class to Sign in with google, all works fine, but google gives a low quality photo in his url.
// IN MainActivity OnCreate ->
googleSignInAccount = GoogleSignIn.getLastSignedInAccount(this);
if(googleSignInAccount != null){
String url = googleSignInAccount.getPhotoUrl();
}