DATE:
AUTHOR:
PowerSync Product Team
Kotlin Multiplatform SDK

The PowerSync Kotlin Multiplatform Client SDK is in Beta!

DATE:
AUTHOR: PowerSync Product Team

We are excited to announce the beta release of the PowerSync Kotlin Multiplatform client SDK This SDK is now considered suitable for production use, if you've tested your use cases.

  • Installation instructions are in the project's README.

  • The full SDK reference with a getting started guide, implementation details, code snippets is available here.

Notable updates

Since the initial alpha release in March 2024, we shipped several updates to get this SDK to beta, notably:

  • Improved the API by changing from a Builder pattern to simply instantiating the database PowerSyncDatabase

    E.g. val db = PowerSyncDatabase(factory, schema)

  • Moved the SQLDelight models to a separate module to reduce export size.

  • Replaced the default Logger with Kermit Logger which allows users to more easily use and/or change Logger settings.

  • Introduced a callback context in transactions (see details in this PR)

    E.g. db.writeTransaction{ ctx -> ctx.execute(...) }

  • Quality enhancements summarized here.

  • And more.

Added developer resources:

  • A Todo List demo app that integrates with Supabase. This is the best place to get started if you want to get a feel for PowerSync's capabilities and integration with Supabase. See its README for testing instructions.

  • We fleshed out usage examples here, including code snippets for transactions, uploading data, enabling logging, etc.

And of course, we fixed a number of issues and bugs reported by users who tested the alpha - thanks very much submitting issues and sharing your feedback

Questions / Feedback?

If you need any help getting started or have any questions, chat with us on Discord. We'd also love to hear your feedback!

Powered by LaunchNotes