Skip to main content

Hi there! I’d 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 generically handled by `IntercomError.getErrorMessage()`, the iOS module simply throws a blanket 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.

Hi @amelagrano ! Ebenezer here from Engineering Support👋.

Thanks for bringing this to our attention!

I can definitely see how adding more descriptive error can be useful 

I’ll bring this up with the Mobile Team and see what can be done regarding these error!

 


Reply