React-native-intercom: Intercom Modal Screen Back/Close/Exit button callback?

Created on 10 Apr 2017  路  10Comments  路  Source: tinycreative/react-native-intercom

Is there a callback function when the Intercom Back/Exit/Close buttons is pressed? This would be useful when triggering a function when a user exits out of intercom back into the app and you want an action/event to fire.

Would this be a feature request? Ideas?

Most helpful comment

Probably a feature request. Happy to accept a PR

All 10 comments

+1

Probably a feature request. Happy to accept a PR

+1

It looks like this might get addressed in #223 ?

Does Intercom have a configuration for this? If so happy to accept a PR

Hey @browniefed my reply was not directly related to this request, sorry. I'm searching Intercom's docs and started a chat with them to find out how to add a close button. react-native-intercom 10.2 had a working close button but 12.5 does not. However, I have to use 12.5 because we need the logout() function which was added in that version. If I can figure it out I'll submit a PR.

Edit: There is a close button but it seems to be invisible. I can tap the upper right corner and Intercom will close, just have to figure out how to change the color of the button now. That may be a setting on Intercom's site.

Edit 2: I had to replace the old framework with the new from Intercom's site. Common sense but I missed it.

Great, do update this with anything you find.
I only manage PRs on this library, I only sort of use it at my current place.

I believe 10.2 was using the older SDK from Intercom and 12.5 is recommended to use the latest, so I'm not sure if they changed anything on their end.

Intercom really doesn't provide a ton of design control which is understandable but unfortunate.

@browniefed I just edited my post. Sending this so you get the notification. I just had to go download the latest framework from Intercom and add it to my project.

馃憤 Great glad you got it resolved.

Thanks for responding so quickly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

klamping picture klamping  路  11Comments

skleest picture skleest  路  8Comments

canpoyrazoglu picture canpoyrazoglu  路  3Comments

wadeyw picture wadeyw  路  5Comments

pi-sw picture pi-sw  路  5Comments