Travel Mobile App

Pre-requisites

Windows Users : If you are developing on Windows, we recommend that you use a Windows 10 machine. Also, note that if you choose Manual or docker installation mode, you should also have administrative privileges on the Windows box so you can authorize the installation and running of the required executables.

Travel Sample Mobile App

  • Clone the "master" branch of the Travel Sample app from GitHub. We are doing a shallow pull with depth as 1 to speed the cloning process.

    git clone -b master --depth 1 https://github.com/couchbaselabs/mobile-travel-sample.git
  • Confirm that the TravelSample.core project is linked with version 2.5 of Couchbase.Lite framework. You should see equivalent of screenshot below with the latest version of Couchbase.Lite Core framework under the "installed" section of the nuget package manager . -nuget lite core

  • Confirm that the TravelSample.UWP project is linked with version 2.5 of Couchbase.Lite and Couchbase.Lite.Support.UWP framework. You should see equivalent of screenshot below with the latest version of Couchbase.Lite core framework and Couchbase.Lite.Support.* support framework under the "installed" section of the nuget package manager.

  • If you were building for Xamarin, verify that the right version of Couchbase.Lite core framework and Couchbase.Lite.Support.Android / Couchbase.Lite.Support.iOS support framework is linked with the appropriate TravelSample.Android or TravelSample.iOS project respectively. -nuget uwp

Try it out

  • Open the TravelSample.sln using Visual Studio

  • Build and run the project on your platform of choice (UWP, Xamarin iOS or Xamarin Android)

  • Verify that the login screen appears. The screenshot below is from a UWP App. uwp login