Skip to content

Conversation

@stevensJourney
Copy link
Contributor

Overview

This is the Kotlin port of powersync-ja/powersync-js#783

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

database.connect(
    connector = connector,
    appMetadata = mapOf(
        "appVersion" to "1.0.0",
        "deviceId" to "device456"
    )
)

@stevensJourney stevensJourney marked this pull request as ready for review December 9, 2025 11:04
Copy link
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.

Happy with these changes 👍

@stevensJourney stevensJourney merged commit 33d5b01 into main Dec 10, 2025
10 checks passed
@stevensJourney stevensJourney deleted the app-metadata branch December 10, 2025 08:24
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