I am building a cross-platform app in C++ and want to use Couchbase Lite to store and manage data. Initially I was planning to use the Native API and rewrite it for each platform (I want to support as many platforms as possibly). However, now I’ve noticed the REST API I think that would be a better option. I can use a cURL library to make the calls, and use the same code across all platforms
Are there any disadvantages to the REST API vs the Native API? Especially with regards to replication?