Skip to content

feat: add suppressProactiveContent for pre-auth carousel/survey visibility#458

Open
mapierce wants to merge 1 commit into
mainfrom
mapierce/proactive-content-release
Open

feat: add suppressProactiveContent for pre-auth carousel/survey visibility#458
mapierce wants to merge 1 commit into
mainfrom
mapierce/proactive-content-release

Conversation

@mapierce

Copy link
Copy Markdown
Contributor

Why?

Apps embedding the Messenger need to suppress specific proactive content types — carousels and surveys — during their pre-authentication launch flow, so proactive content doesn't surface before a user is identified. This was validated via a prerelease build; this PR is the proper release.

How?

Bumps the bundled native SDKs to the releases that expose the API (iOS 19.7.0, Android 18.5.0) and wires suppressProactiveContent(types) from the JS API through to the native suppressProactiveContent on both platforms.

Generated with Claude Code

…ility

Adds Intercom.suppressProactiveContent(types) + a ProactiveContentType enum
(Carousel, Survey). Declarative semantics: the types passed are suppressed,
an empty array unsuppresses all. Bridges to the native suppressProactiveContent
on both platforms — iOS via [Intercom suppressProactiveContent:], Android via
Intercom.client().suppressProactiveContent(List<ContentType>).

Bumps the native SDK pins to the releases that expose the API (iOS 19.7.0,
Android 18.5.0) and the package to 10.4.0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mapierce mapierce force-pushed the mapierce/proactive-content-release branch from 4d07c2c to 2b5ee3f Compare July 15, 2026 15:58
@Rosie-Kennelly-1

Copy link
Copy Markdown
Contributor

Looks good to me too. One small thing, is that the README docs missing. Every other public method has a ### Intercom.methodName(...) section in README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants