Skip to content

Migration to Couchbase Lite

Choose a tag to compare

@agonper agonper released this 30 Oct 15:54
· 171 commits to master since this release

Warning! This release no longer supports Android 4.3 Jelly Bean and bellow. The min SDK has been bumped to 19 (Android 4.4 - KitKat)

This release is aimed to fix certain integration problems of our plugin with other libraries and apps.

We were using NanoSQL to persist the state of our plugin. NanoSQL uses a global singleton object to interact with the underlying databases, but it can only interact with one at once. This does not scale well when the application uses multiple SQLite databases managed by NanoSQL, leading to crossed calls between databases.

That is why we have decided to replace the NanoSQL dependency with a Couchbase Lite plugin.

What does this means for you? When updating to this version of the plugin, your production apps will lose their state momentarily. This only affects human activity recognisers, that will loose track of the latest activity. The plugin will operate as usual once the user changes the activity, keep this in mind to control possible duplicate events that could arise at the moment of the migration.