Skip to content

@capgo/capacitor-intercom

Intercom Capacitor plugin.

Intercom Capacitor plugin.

  • loadWithKeys - Initialize Intercom with API keys at runtime. Use this if you prefer not to configure keys in capacitor.config.
  • registerIdentifiedUser - Register a known user with Intercom. At least one of userId or email must be provided.
  • registerUnidentifiedUser - Register an anonymous user with Intercom.
  • updateUser - Update user attributes in Intercom.
MethodDescription
loadWithKeysInitialize Intercom with API keys at runtime. Use this if you prefer not to configure keys in capacitor.config.
registerIdentifiedUserRegister a known user with Intercom. At least one of userId or email must be provided.
registerUnidentifiedUserRegister an anonymous user with Intercom.
updateUserUpdate user attributes in Intercom.
logoutLog the user out of Intercom.
logEventLog a custom event in Intercom.
displayMessengerOpen the Intercom messenger.
displayMessageComposerOpen the message composer with a pre-filled message.
displayHelpCenterOpen the Intercom help center.
hideMessengerHide the Intercom messenger.
displayLauncherShow the Intercom launcher button.
hideLauncherHide the Intercom launcher button.
displayInAppMessagesEnable in-app messages from Intercom.
hideInAppMessagesDisable in-app messages from Intercom.
displayCarouselDisplay a specific Intercom carousel.
displayArticleDisplay a specific Intercom article.
displaySurveyDisplay a specific Intercom survey.
setUserHashSet the HMAC for identity verification.
setUserJwtSet JWT for secure messenger authentication.
setBottomPaddingSet the bottom padding for the Intercom messenger UI.
sendPushTokenToIntercomSend a push notification token to Intercom.
receivePushHandle a received Intercom push notification.
getUnreadConversationCountGet the number of unread conversations for the current user.
addListenerListen for when the Intercom window is shown.
addListenerListen for when the Intercom window is hidden.
addListenerListen for changes in the unread conversation count.
removeAllListenersRemove all event listeners.

This reference is synced from src/definitions.ts in capacitor-intercom.