Skip to content

Commit 5da611a

Browse files
committed
Beta release polish
1 parent 3f7b2fe commit 5da611a

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

Demo/PowerSyncExample/_Secrets.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22

33
// Enter your Supabase and PowerSync project details.
44
enum Secrets {
5-
static let powerSyncEndpoint = "https://your-id.powersync.journeyapps.com"
6-
static let supabaseURL = URL(string: "https://your-id.supabase.co")!
7-
static let supabaseAnonKey = "anon-key"
5+
static let powerSyncEndpoint = "https://660fe3a331d70135abf2c626.powersync.journeyapps.com"
6+
static let supabaseURL = URL(string: "https://beaywnuieweznatavpeg.supabase.co")!
7+
static let supabaseAnonKey = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJlYXl3bnVpZXdlem5hdGF2cGVnIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjU0NTk3OTAsImV4cCI6MjA0MTAzNTc5MH0.sb5_RBESMWbfnq_xaZy00T8Mia9lzY0-BBc7ZovS5t0"
88
}

Demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Follow this guide to:
1414

1515
## Configure The App
1616

17-
Open the project in XCode.
17+
Open this directory in XCode.
1818

1919
Open the “_Secrets” file and insert the credentials of your Supabase and PowerSync projects (more info can be found [here](https://docs.powersync.com/integration-guides/supabase-+-powersync#test-everything-using-our-demo-app)).
2020

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# PowerSync Swift
88

9-
The SDK reference for the PowerSync Swift SDK is available [here](https://docs.powersync.com/client-sdk-references/swift).
9+
This is the PowerSync SDK for Swift clients. The SDK reference is available [here](https://docs.powersync.com/client-sdk-references/swift).
1010

1111
## Beta Release
1212

@@ -32,18 +32,14 @@ Add
3232
.package(url: "https://github.com/powersync-ja/powersync-swift", exact: "<version>")
3333
```
3434

35-
36-
to your `Package.swift` file and pin the dependency to a specific version. This is required because the package is in beta.
35+
to your `Package.swift` file and pin the dependency to a specific version. The version is required because the package is in beta.
3736

3837
## Underlying Kotlin Dependency
3938

40-
The PowerSync Swift SDK currently makes use of the [PowerSync Kotlin Multiplatform SDK](https://github.com/powersync-ja/powersync-kotlin) with the API tool [SKIE](https://skie.touchlab.co/) and KMMBridge under the hood to help generate and publish the native Swift SDK. We will move to an entirely Swift native API in v1 and do not expect there to be any breaking changes.
39+
The PowerSync Swift SDK currently makes use of the [PowerSync Kotlin Multiplatform SDK](https://github.com/powersync-ja/powersync-kotlin) with the API tool [SKIE](https://skie.touchlab.co/) and KMMBridge under the hood to help generate and publish a native Swift package. We will move to an entirely Swift native API in v1 and do not expect there to be any breaking changes. For more details, see the [Swift SDK reference](https://docs.powersync.com/client-sdk-references/swift).
4140

4241

4342
## Migration from Alpha to Beta
4443

45-
* The `PowerSyncDatabase` no longer needs a driver argument and it must be removed.
46-
* The interface for `PowerSyncDatabase` now uses `PowerSyncDatabaseProtocol` which may require some changes to databases uses.
47-
* If you were using `__uploadData` and `__fetchCredentials` in your `PowerSyncBackendConnector` you must remove the `__` and update the methods to `uploadData` and `fetchCredentials`.
48-
* `@MainThread` usage is no longer required and should be removed.
49-
* Implementing `SuspendTaskWrapper` for database transactions is no longer required and should be removed.
44+
See these [developer notes](https://docs.powersync.com/client-sdk-references/swift) if you are migrating from the alpha to the beta version of the Swift SDK.
45+

0 commit comments

Comments
 (0)