Skip to content

v0.3.8

Compare
Choose a tag to compare
@DmitrySharabin DmitrySharabin released this 09 Jun 10:04

Make offline persistence optional. From now on, it's not enabled by default anymore. An author must enable it explicitly in case they need this feature.

Details

The plugin supports offline data persistence. This feature caches a copy of the data that your app is using, so your app can access the data when the device is offline. When the device comes back online, the plugin synchronizes any local changes made by your app to the backend. To enable this feature add offline-persistence option to mv-storage-options.

Note: Please keep in mind that if you enable both the realtime and the offline persistence features simultaneously (i.e., you specify mv-storage-options="realtime offline-persistence" in the root of your app), that might cause some issues with realtime updates if your app is opened in more than one tab. Changes made in the app in one tab won't be pushed to the app in the inactive tab.