Skip to main content
Answered

React Native -- login error messages on iOS vs Android

  • September 26, 2024
  • 1 reply
  • 66 views

Hi there! I’ve been debugging an issue with our React Native app’s implementation of the `loginUnidentifiedUser` + `loginUserWithUserAttributes` combo, and noticed that while the Android module has a few descriptive cases before being handled by `IntercomError.getErrorMessage()`, the iOS module simply throws a generic error for all failures.

Is there a reason why actual request errors aren’t being bubbled up through these methods? For example, if the login failed due to the Identity Verification check, I feel like it would be reasonable to include that and the related code in the failure callback.

Thanks!

Best answer by Jacques Reynolds

Hey @amelagrano 👋 Jacques here from support engineering!

Thanks for providing these valuable insights! I think your best bet here would be reaching out to our support team here to provide some context on your issue in improving the error handling on iOS to match the detail provided by Android. This could allow for clearer error messages related to specific failures such as identity verification issues in our SDKs.

Also, you can check if this feature has been recorded on our Product Wishlist in our Community? You can search and upvote existing requests or create new requests 🙌 Check out the quick guide on how the Product Wishlist works here. Note that you must be logged into the Intercom Community to access the Wishlist. 

 

 

View original
Did this topic help you find an answer to your question?

1 reply

Jacques Reynolds
Intercom Team
Forum|alt.badge.img+4

Hey @amelagrano 👋 Jacques here from support engineering!

Thanks for providing these valuable insights! I think your best bet here would be reaching out to our support team here to provide some context on your issue in improving the error handling on iOS to match the detail provided by Android. This could allow for clearer error messages related to specific failures such as identity verification issues in our SDKs.

Also, you can check if this feature has been recorded on our Product Wishlist in our Community? You can search and upvote existing requests or create new requests 🙌 Check out the quick guide on how the Product Wishlist works here. Note that you must be logged into the Intercom Community to access the Wishlist. 

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings