[Error: ERROR - [HTTP 404] - Resource Not Found]. when I try to use one of the login function.
we are using or trying to present the Intercom Messenger.
const loginWithIntercom = async () => {
const status1 = await Intercom.setUserHash(user.id.toString());
console.log('status hash : ', status1) // true
const status = await Intercom.loginUserWithUserAttributes({
userId: user.id.toString()
}); // throw 404 not found error
console.log('login success : ', status);
};
I’ve checked in the native code that everything is configured as it should be after running npx expo prebuild.
how to deal with this issue ?
We are using :
expo SDK: 51
react-native: 0.74.1
intercom/intercom-react-native: 7.1.1
how to deal with this issue