Skip to main content

rivium_sync 0.2.4 copy "rivium_sync: ^0.2.4" to clipboard
rivium_sync: ^0.2.4 copied to clipboard

Realtime database plugin for Flutter - Firebase alternative with instant data synchronization across all connected devices

0.2.4 #

  • The native SDKs now report this plugin to the Sync API in the X-Rivium-SDK header (flutter/<version> android/<version> or flutter/<version> ios/<version>), so the Console can show which SDK and version a project uses. Added riviumSyncSdkName / riviumSyncSdkVersion.
  • Uses rivium-sync-android 0.2.4 and RiviumSync (iOS) 0.2.3, installed automatically.

0.2.3 #

  • With offline persistence on, writes made before the realtime connection is up (or without calling connect()) now go to the server instead of waiting in the local queue. They are queued only when the device is known to be offline (Android 0.2.3, iOS 0.2.2).

0.2.2 #

  • Android: fixed a crash when the connection was closed while it was still opening, for example on a device with no internet.

0.2.1 #

  • Added tokenProvider, RiviumSync.setTokenProvider() and RiviumSync.refreshUserToken(): the SDK gets and renews the user token itself.
  • connect() can be called before sign-in when user tokens are required: the SDK waits for a token and then connects (onAwaitingUserToken, isAwaitingUserToken()).
  • Setting a token for a different user reconnects as that user.

0.2.0 #

  • Added userToken in the config and RiviumSync.setUserToken(), so Security Rules can trust auth.uid. Your backend mints a short-lived token.
  • Uses the 0.2.0 native SDKs, which fix: getAll() stopping at 100 documents, deleted documents reappearing offline, stale reads at app start, and an app started offline never connecting.

0.1.0 #

  • Initial release
  • Realtime database SDK with offline-first sync
  • CRUD operations, batch writes, queries
  • Realtime listeners for collections, documents, and queries
  • Offline persistence with conflict resolution
  • Android and iOS platform support
1
likes
0
points
609
downloads

Publisher

verified publisherrivium.co

Weekly Downloads

Realtime database plugin for Flutter - Firebase alternative with instant data synchronization across all connected devices

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on rivium_sync

Packages that implement rivium_sync