File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
src/commonMain/kotlin/com/powersync Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -266,10 +266,7 @@ androidComponents.onVariants {
266266}
267267
268268tasks.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)
273270}
274271
275272// 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(
338338 tx.execute(
339339 """
340340 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
342342 """ .trimIndent(),
343343 listOf (
344344 JsonUtil .json.encodeToString(
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ public interface ProgressWithOperations {
2525 public val downloadedOperations: Int
2626
2727 /* *
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.
2933 */
3034 public val fraction: Float get() {
3135 if (totalOperations == 0 ) {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ kotlinx-datetime = "0.6.2"
1717kotlinx-io = " 0.5.4"
1818ktor = " 3.0.1"
1919uuid = " 0.8.2"
20- powersync-core = " 0.3.12 "
20+ powersync-core = " 0.3.13 "
2121sqlite-jdbc = " 3.49.1.0"
2222sqliter = " 1.3.1"
2323turbine = " 1.2.0"
You can’t perform that action at this time.
0 commit comments