I\'m creating an authentication workflow for my android app. I\'m allowing users to sign in with username/password and various OAuth providers. I\'m validating emails and pa
I have faced this problem when geting IdToken from firebase user Object. I did not know what was the real source of error it was just showing FirebaseNetworkException but I also couldn't catch that error so I just used the General Exception Object to catch this Error.
as follow
try {
//your code that is throwing this error
}catch (Exception e){
//handle the exception thrown
}