| What Create a proof of concept for wrapping & configuring couchbase-lite-android with the Aerogear Core SDK i.e. the URL for the sync gateway gets set by based on the mobile-config.json value that the Core SDK reads. Why To uncover any potential issues with this approach for using external libs, and integrating with the Core SDK. How In an ideal scenario, the Sync Gateway would be running in OpenShift, and the Mobile CLI able to generate a mobile-config.json with the correct URL for the sync gateway in it. However, as this is a proof of concept (with the goals more on derisking the Mobile side), it doesn't matter where the Sync Gateway runs (could be local), and a manually created/modified mobile-config.json can be used. The 'wrapper' around couchbase-lite-android should auto-configure it for the location of the sync gateway based on the config coming from the Core SDK (mobile-config.json). There should be no additional config needed, other than whatever setup code required to create/use the Core SDK & couchbase wrapper. Some links
|