Skip to content

Commit 0263ab2

Browse files
committed
Add JVM support, feature states polish
1 parent a1195d0 commit 0263ab2

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

client-sdk-references/kotlin-multiplatform.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sidebarTitle: Overview
1919
</CardGroup>
2020

2121
<Note>
22-
The PowerSync Swift SDK is currently in a beta release. It is suitable for production use at this stage given you've tested your use cases extensively. Breaking changes are unlikely to occur.
22+
This SDK is currently in a [**beta** release](/resources/feature-status). It is suitable for production use provided you've tested your specific use cases.
2323
</Note>
2424

2525
### SDK Features
@@ -31,12 +31,18 @@ sidebarTitle: Overview
3131
* Enables subscription to queries for receiving live updates.
3232
* Eliminates the need for client-side database migrations as these are managed automatically.
3333

34-
Supported targets: Android and iOS.
34+
Supported targets: Android, iOS and Desktop.
3535

3636
## Installation
3737

3838
See the [SDK's README](https://github.com/powersync-ja/powersync-kotlin?tab=readme-ov-file#installation) for installation instructions.
3939

40+
<Info>
41+
**JVM compatibility for Desktop**
42+
* The following platforms are supported: Linux AArch64, Linux X64, MacOS AArch64, MacOS X64, Windows X64.
43+
* See this [example build.gradle file](https://github.com/powersync-ja/powersync-kotlin/blob/main/demos/hello-powersync/composeApp/build.gradle.kts) for the relevant JVM config.
44+
</Info>
45+
4046
## Getting Started
4147

4248
Before implementing the PowerSync SDK in your project, make sure you have completed these steps:
@@ -114,6 +120,8 @@ import com.powersync.PowerSyncDatabase
114120
val driverFactory = DatabaseDriverFactory(this)
115121
// iOS
116122
val driverFactory = DatabaseDriverFactory()
123+
// Desktop
124+
TODO
117125
```
118126

119127
b. Build a `PowerSyncDatabase` instance using the `PowerSyncBuilder` and the `DatabaseDriverFactory`. The schema you created in a previous step is provided as a parameter:

client-sdk-references/swift.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sidebarTitle: "Overview"
1616
</CardGroup>
1717

1818
<Note>
19-
The PowerSync Swift SDK is currently in a beta release. It is suitable for production use at this stage given you've tested your use cases extensively. Breaking changes are unlikely to occur.
19+
This SDK is currently in a [**beta** release](/resources/feature-status). It is suitable for production use provided you've tested your specific use cases.
2020
</Note>
2121

2222
## Kotlin Multiplatform -> Native Swift SDK

installation/database-setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Notably, some "serverless Postgres" providers do not support logical replication
331331

332332
### Status of MongoDB support in PowerSync
333333

334-
In PowerSync nomenclature, Beta means the package is ready to be used for production given you have adequately tested your use case. We typically don't make any breaking API changes when moving from Beta to V1.
334+
In PowerSync nomenclature, Beta means the package is ready to be used for production given you have adequately tested your use case. We typically don't make any breaking API changes when moving from Beta to V1 (learn more about feature states [here](/resources/feature-status)).
335335

336336
#### Alpha (Completed)
337337

resources/demo-apps-example-projects.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ Example projects are listed under backend they use, but you can easily wire up y
6969
#### Supabase Backend:
7070

7171
* [Minimal 'Hello PowerSync' App](https://github.com/powersync-ja/powersync-kotlin/tree/main/demos/hello-powersync)
72-
72+
* Includes Android, iOS and Desktop (JVM) targets.
7373
* [To-Do List App](https://github.com/powersync-ja/powersync-kotlin/tree/main/demos/supabase-todolist)
74-
74+
* Includes Android, iOS targets.
7575
* [To-Do List App as a native Android application](https://github.com/powersync-ja/powersync-kotlin/tree/main/demos/android-supabase-todolist)
7676

7777
</Accordion>

0 commit comments

Comments
 (0)