File tree 4 files changed +8
-7
lines changed
src/commonMain/kotlin/com/powersync
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -266,10 +266,7 @@ androidComponents.onVariants {
266
266
}
267
267
268
268
tasks.named<ProcessResources >(kotlin.jvm().compilations[" main" ].processResourcesTaskName) {
269
- // from(downloadPowersyncDesktopBinaries)
270
- from(" /Users/simon/src/powersync-sqlite-core/target/debug/libpowersync.dylib" ) {
271
- rename { " libpowersync_aarch64.dylib" }
272
- }
269
+ from(downloadPowersyncDesktopBinaries)
273
270
}
274
271
275
272
// We want to build with recent JDKs, but need to make sure we support Java 8. https://jakewharton.com/build-on-latest-java-test-through-lowest-java/
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ internal class BucketStorageImpl(
338
338
tx.execute(
339
339
"""
340
340
UPDATE ps_buckets SET count_since_last = 0, count_at_last = ?1->name
341
- WHERE ?1->name IS NOT NULL
341
+ WHERE name != ' ${ ' $ ' } local' AND ?1->name IS NOT NULL
342
342
""" .trimIndent(),
343
343
listOf (
344
344
JsonUtil .json.encodeToString(
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ public interface ProgressWithOperations {
25
25
public val downloadedOperations: Int
26
26
27
27
/* *
28
- * The relative amount of [totalOperations] to items in [downloadedOperations], as a number between `0.0` and `1.0`.
28
+ * The relative amount of [totalOperations] to items in [downloadedOperations], as a number between `0.0` and `1.0` (inclusive).
29
+ *
30
+ * When this number reaches `1.0`, all changes have been received from the sync service.
31
+ * Actually applying these changes happens before the [SyncStatusData.downloadProgress] field is
32
+ * cleared though, so progress can stay at `1.0` for a short while before completing.
29
33
*/
30
34
public val fraction: Float get() {
31
35
if (totalOperations == 0 ) {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ kotlinx-datetime = "0.6.2"
17
17
kotlinx-io = " 0.5.4"
18
18
ktor = " 3.0.1"
19
19
uuid = " 0.8.2"
20
- powersync-core = " 0.3.12 "
20
+ powersync-core = " 0.3.13 "
21
21
sqlite-jdbc = " 3.49.1.0"
22
22
sqliter = " 1.3.1"
23
23
turbine = " 1.2.0"
You can’t perform that action at this time.
0 commit comments