Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Do Intercom.logout() on boot in the dev-client? #54

@Norfeldt

Description

@Norfeldt

First, this repo is fantastic 🙌 thank you so much!

It allows me to use Intercom together with my expo dev-client. However I have noticed that if I

  1. Sign into Intercom
  2. close the dev-client app
  3. release an intercom carousel
  4. open the dev-client app manually (no deeplink into my app)
  5. then the carousel opens up

Feb-09-2023 18-41-43

In my App.tsx I have an Intercom.logout, but that is not called in the dev-client home screen.

I can't seem to find a solution to trigger Intercom.logout when the app is terminated, but perhaps this plugin can build a

Intercom.logout().catch()

into the boot of the dev-client?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions