Skip to main content
Answered

React Native expo error: Error while parsing method IntercomModule.loginUnidentifiedUser:

  • January 22, 2025
  • 1 reply
  • 70 views

I am using the latest expo 52 with latest intercom and I get this error when on the first screen that uses Intercom

 

Error while parsing method IntercomModule.loginUnidentifiedUser: Methods that return promises must accept a RCTPromiseResolveBlock followed by a RCTPromiseRejectBlock.

 

I am using the expo 52 and React Native .76

 

We call this in our main component

Intercom.loginUserWithUserAttributes({

name: user?.first_name + ' ' + user.last_name,

phone: user?.phone,

email: user?.email,

userId: user?.uuid,

});

 

We set the config in our app.config.js file like this 

```

config.plugins.push( ["@intercom/intercom-react-native",

{

"appId": process.env.INTERCOM_APP_ID,

"androidApiKey": process.env.INTERCOM_IOS_TOKEN,

"iosApiKey": process.env.INTERCOM_ANDROID_TOKEN,

"intercomRegion": "US"

}

])

 

```

 

Not sure what we may be missing

Best answer by Emilygav

Hey ​@mprattico! Emily here from Support Engineering at Intercom 👋🏼

We did have an ongoing issue regarding Expo being broken, however this was resolved as of two days ago! Are you still experiencing issues? If so, could you update to the latest version of React Native and try again? 

I would recommend if you are still having issues to write into our support team for further guidance here as this might take more investigating to solve. You can find our support team at the bottom right of the community here! 👇

Hopefully the issues has resolved itself since the release of a fix 💪🏼

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

1 reply

Emilygav
Intercom Team
Forum|alt.badge.img+3
  • Intercom Team
  • 92 replies
  • Answer
  • February 14, 2025

Hey ​@mprattico! Emily here from Support Engineering at Intercom 👋🏼

We did have an ongoing issue regarding Expo being broken, however this was resolved as of two days ago! Are you still experiencing issues? If so, could you update to the latest version of React Native and try again? 

I would recommend if you are still having issues to write into our support team for further guidance here as this might take more investigating to solve. You can find our support team at the bottom right of the community here! 👇

Hopefully the issues has resolved itself since the release of a fix 💪🏼


Reply


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