In this series of tutorials, we will go through the process of creating a cross-platform mobile app using a headless Drupal 8 backend with a REST API. The app will have native UI and navigation, ie, on iOS it will look and feel like a native iOS app, same for android. Various steps use *nix or OSX command-line instructions.
Now we get to the fun part!
The below assumes node.js is already installed on your development machine:
sudo npm install -g cordova
Go to where you want to install the app.
git clone https://github.com/CityWebConsultants/Drupal8-cordova-app.git myapp
Install Cordova plugins:
cordova plugin add cordova-plugin-whitelist
Update the sitePath variable to point to the Drupal backend site: