I've implemented Google Sign In in my app. It works fine on every device available to me.
But I've found in Crashlytics that some (very few) users get INTERNAL_ERROR code in GoogleSignInResult.
int code = result.getStatus().getStatusCode(); // 8==INTERNAL_ERROR
String message = result.getStatus().getStatusMessage(); // null
boolean isCancelled = result.getStatus().isCanceled(); // false
boolean isInterrupted = result.getStatus().isInterrupted(); // false
I've found that usually INTERNAL_ERROR is caused by app's wrong configuration in Google Console, but in my case it isn't a reason because app works on most of devices.
So, how to find the reason of INTERNAL_ERROR while Google Sign In?