Flutter
We’re excited to announce the public preview of the Ditto Flutter SDK!
While you can expect major feature compatibility with our production SDKs, we’re continuously refining the experience and closing any minor gaps. Join us on this journey, and share your feedback to help shape the future of Ditto for Flutter!
This change has a large number of new capabilities as well as some minor namings API Breaking Changes.
Added: Presence API - Allows receiving syncing information about other peers. See Using Mesh Presence
Added: WifiAware as a Transports protocol.
Added: Retrieving active subscriptions. Syncing Data > Retrieving Subscriptions
Added: Canceling subscriptions. Syncing Data > Canceling Subscriptions
Added: Support for sync groups. Creating Sync Groups
Added: Support to intercept and reject new connections. Handling Connection Requests
Breaking change: AuthenticationStatus.authenticated renamed to isAuthenticated
Breaking change: Various TransportConfig-related types have enabled properties renamed to isEnabled
Breaking change: HttpListenConfig.interfaceIp renamed to interfaceIP
Breaking change: HttpListenConfig.websocketSync renamed to webSocketSync
Breaking change: StoreObserver.cancelled renamed to isCancelled
Added: Logger class that provides diagnostics capabilities. Added: Device Dashboard Support - customers can now see device information on the Ditto Portal. Added: Support for Attachments.
Changed: The default deviceName
will now represent the device’s model.
Added: OnlineWithAuthenticationIdentity and ditto.auth
Added: User-configurable transport config. Customizing Transports Configurations
Added: Ability to stop sync ditto.stopSync()
Fixed: Cancelling a subscription currently doesn’t trigger any action
Fixed: Observer API no longer fires every 50ms. Previously the observer API was using a polling mechanism internally which resulted in an event ever 50ms no matter if there were changes or not. This has been updated with an event listener pattern.
Changed: Performance and battery life improvements from observers not continuously firing
Version 4.8.0-beta.6 has been Retracted due to an issue found with Android observer API not firing correctly.
Please use earlier or later releases.
The initial beta release of Flutter
Was this page helpful?