Skip to content

Replace deprecated Intercom Android SDK functions #136

@rafaelbrendler-pixieset

Description

I was debugging some issues with the Intercom Messenger and noticed that your plugin is still using several deprecated functions from Intercom’s Android SDK.
Please update them to the recommended alternatives to prevent potential bugs and inconsistent behavior:

  • registerUnidentifiedUser: Use loginUnidentifiedUser instead.
  • registerIdentifiedUser: Use loginIdentifiedUser with a callback instead.
  • updateUser: Use updateUser with a callback instead.
  • displayMessenger: Use present() instead.
  • displayConversationsList: Use present(IntercomSpace.Messages) instead.
  • displayHelpCenter: Use present(IntercomSpace.HelpCenter) instead.
  • displayHelpCenterCollections: Use presentContent(IntercomContent.HelpCenterCollections(ids)) instead.
  • displayCarousel: Use presentContent(IntercomContent.Carousel(id)) instead.
  • displaySurvey: Use presentContent(IntercomContent.Survey(id)) instead.
  • reset: Call logout() instead.
  • displayArticle: Use presentContent(IntercomContent.Article(id)) instead.

This information was found by reviewing Intercom.class, and most of these deprecations are also documented in Intercom’s changelog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions