Skip to content

Replace NanoSQL with Couchbase Lite #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 30, 2020
Merged

Replace NanoSQL with Couchbase Lite #6

merged 4 commits into from
Oct 30, 2020

Conversation

agonper
Copy link
Collaborator

@agonper agonper commented Oct 26, 2020

Due to its singleton nature, it becomes difficult to synchronise DB access (more concretely, NanoSQL usage) across multiple plugins. This becomes even harder when running code alternatively, due to scatter async calls.

After evaluating multiple alternatives like:

Among the previous list, the last one seems the best maintained one, with more contributors and recent answers to issues. Moreover, it fits well the current usage of the plugin DB and the main author is part of the NativeScript team.

This PR does not induce any code breaking changes. However, any app running in production should cope with having all its recogniser states wiped out. This can lead to some momentary inconsistent detection.

@agonper agonper added the enhancement New feature or request label Oct 26, 2020
@agonper agonper requested a review from matey97 October 26, 2020 15:05
@agonper
Copy link
Collaborator Author

agonper commented Oct 26, 2020

@matey97, if it looks good to you and works great on your devices, please try to incorporate it to your branch to check that everything is still working as expected with the high-res recogniser 😉. Thanks

@matey97
Copy link
Contributor

matey97 commented Oct 27, 2020

Looks great. I test it in my branch and works as expected. Nice work, as always 😉.

@agonper
Copy link
Collaborator Author

agonper commented Oct 27, 2020

Excellent! Thank you Miguel! Speaking of your branch, I would like to get back to it in November. I think that with some minor changes we can include it as a main functionality of the library. Talk to you soon about it 😄

@agonper agonper merged commit 71bf353 into master Oct 30, 2020
@agonper agonper deleted the couchbase branch October 30, 2020 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants