Skip to content

Document Swift includeDefaultStreams option#413

Open
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/swift-include-default-streams-1777446461
Open

Document Swift includeDefaultStreams option#413
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/swift-include-default-streams-1777446461

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 29, 2026

Summary

The Swift SDK now drives the streaming sync client natively from Swift, and exposes a new includeDefaultStreams flag on ConnectOptions. When set to false, streams defined with auto_subscribe: true will not sync unless the client explicitly subscribes to them. The default remains true, so existing behavior is unchanged.

Changes

  • sync/streams/client-usage.mdx: Added an "Opting Out of Auto-Subscribed Streams" section with a Swift example showing ConnectOptions(includeDefaultStreams: false).
  • sync/streams/overview.mdx: Added a callout in the auto-subscribe section pointing Swift users to the new option.

Triggering PR

Documents the user-facing change from the merged Swift SDK PR that adds an includeDefaultStreams field to ConnectOptions. The rest of that PR is an internal refactor (the Swift SDK now talks directly to the sync protocol instead of going through the Kotlin layer), with no other user-facing API surface.

cc @benitav @simolus3 for review.

Copy link
Copy Markdown
Contributor

@simolus3 simolus3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have that option on all our SDKs now, only Swift didn't have this before.

I think it could make sense to add a note to client-usage.mdx about that option being available on connect() though.

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.

1 participant