React-native-intercom: Messenger not showing in the app

Created on 5 May 2017  路  8Comments  路  Source: tinycreative/react-native-intercom

Messenger button is not showing in the app. It shows briefly if the agent answers, but as soon as you click on the messenger button and go into the chat, the messenger button is gone.

The settings for messenger visibility are on. Is this the intended behavior on mobile? Thank you.

Most helpful comment

The function you want is Intercom.setLauncherVisibility('VISIBLE');

All 8 comments

Have you got any solution?

Hello @skleest

Please check your key it may be wrong

Android it has prefix like android_sdk-
iOS it has prefix like ios_sdk-

Please check it and let know your feedback.

Hi @tatva-nisarg sorry for the late response! We couldn't get it to work. iOS has the right prefix.
The intended behavior of intercom mobile is having the messenger button shown throughout the app, is that correct?

try this function displayMessageComposer();

The function you want is Intercom.setLauncherVisibility('VISIBLE');

Have tried both displayMessageComposer and setLauncherVisibility, still not showing anything.

Do other intercom functions work, and can you post code?

For me this wasn't working because I had not yet called registerIdentifiedUser. The launcher shows if I have:

componentDidMount() {
        Intercom.registerIdentifiedUser({ userId: DeviceInfo.getDeviceId() });
        Intercom.setLauncherVisibility('VISIBLE')
}
Was this page helpful?
0 / 5 - 0 ratings