Skip to content

Conversation

@stevensJourney
Copy link
Contributor

@stevensJourney stevensJourney commented Dec 31, 2025

The Swift port of powersync-ja/powersync-kotlin#292

This allows clients to specify application metadata when calling powerSync.connect. This Record of String values is logged in the PowerSync service logs, which can be used for debugging and analytics. For context: powersync-ja/powersync-service#413

try await database.connect(
      connector: connector,
      options: ConnectOptions(
          appMetadata: ["appVersion": "1.0.0", "deviceId": "device456"]
      )
  )

@stevensJourney stevensJourney marked this pull request as ready for review December 31, 2025 13:56
Copy link

@LucDeCaf LucDeCaf left a comment

Choose a reason for hiding this comment

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

LGTM 👍

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