rivium_sync 0.2.3
rivium_sync: ^0.2.3 copied to clipboard
Realtime database plugin for Flutter - Firebase alternative with instant data synchronization across all connected devices
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()andRiviumSync.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
userTokenin the config andRiviumSync.setUserToken(), so Security Rules can trustauth.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