nhagen/react-intercom

Unable to see intercom messenger

Closed this issue · 3 comments

Unable to see intercom messenger but was able to load it properly couple days ago on the production web app and also the development environment and verified that the appId is correct, I think this might have something to do with recent samesite cookie updates for browsers?

I'm also just using it like this right now:

           {this.state.intercomUserData &&
              <Intercom appID={app_id}
                {...this.state.intercomUserData}
              />
            }

            {!this.state.intercomUserData &&
              <Intercom appID={app_id} />
            }

which is pretty much the basic setup and config as shown in README examples

Fixed this by moving to just using intercom's way of doing it for single-page apps which is basically add the script to head html element and use global Window methods, see the links I used below:
https://www.intercom.com/help/en/articles/170-integrate-intercom-in-a-single-page-app
https://www.intercom.com/help/en/articles/168-install-intercom-on-your-web-app-for-logged-in-users
https://www.intercom.com/help/en/articles/167-install-intercom-on-your-website-for-logged-out-visitors

Hope it helps.

Ok will take a look much thanks, seems like this repo is not maintained anymore