Skip to content

Kotlin: Introduction

KizunaSyncClient is the typed Kotlin app client over the UniFFI engine in kizunasync-ffi, and the native peer of createKizunaSync in JavaScript. Reads answer from a local SQLite file, and writes land there first, wait in a durable outbox, and settle against Supabase on a sync run. Every method except from(table) is a suspending function on Dispatchers.IO, so a call from the main thread never blocks the interface.

Version#

kizunasync-ffi 0.2.6-alpha.3 (Alpha). Maven Central com.kizunasync:kizunasync, Kotlin package com.kizunasync.kizunasync. See Installing.

What this reference covers#

What Supabase covers#

ConcernUse
Sign-in, sessions, and token refreshsignInWith and refreshSession, then pass the token to Set access token
Row Level Security policiesRow Level Security, which judges every mutation a push carries
Realtime channels behind the wake-up doorbellsubscribe from the app, calling wake on the Host scheduler
Storage objects outside the attachment pathupload

Found a problem? Edit this page on GitHub