You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run my flutter app that uses the SignInScreen component from flutter_ui_auth on an ios Simulator, I see raw error messages on the simulator when entering for example wrong credentials. When I run the same app in Android emulator it shows the handled version of it: "The supplied auth credential is incorrect, malformed or has expired".
I ran the app in release mode on a physical ios device, but I still see the raw error message. I didn't see any references to it in documentation so I'd like to understand if these raw errors are only somehow exposed in development or would they appear when I would actually release the app as well ? Is there a way to handle these errors on an ios Simulator ?
This is the ios device error I am getting:
Full error message:
Error Domain=FIRAuthErrorDomain Code=17999 "An internal error has occurred, print and inspect the error details for more information." UserInfo={FIRAuthErrorUserInfoNameKey=ERROR_INTERNAL_ERROR, NSLocalizedDescription=An internal error has occurred, print and inspect the error details for more information., NSUnderlyingError=0x600000c846f0 {Error Domain=FIRAuthInternalErrorDomain Code=3 "(null)" UserInfo={NSUnderlyingError=0x600000ca9230 {Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data={length = 224, bytes = 0x7b0a2020 22657272 6f72223a 207b0a20 ... 5d0a2020 7d0a7d0a }, data_content_type=application/json; charset=UTF-8}}, FIRAuthErrorUserInfoDeserializedResponseKey={
code = 400;
errors = (
{
domain = global;
message = "INVALID_LOGIN_CREDENTIALS";
reason = invalid;
}
);
message = "INVALID_LOGIN_CREDENTIALS";
}}}}
Picture of Android emulator handling the same error:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I run my flutter app that uses the SignInScreen component from
flutter_ui_auth
on an ios Simulator, I see raw error messages on the simulator when entering for example wrong credentials. When I run the same app in Android emulator it shows the handled version of it: "The supplied auth credential is incorrect, malformed or has expired".I ran the app in release mode on a physical ios device, but I still see the raw error message. I didn't see any references to it in documentation so I'd like to understand if these raw errors are only somehow exposed in development or would they appear when I would actually release the app as well ? Is there a way to handle these errors on an ios Simulator ?
This is the ios device error I am getting:
Full error message:
Picture of Android emulator handling the same error:
Beta Was this translation helpful? Give feedback.
All reactions