This document covers how to use the IndoorAtlas SDK for Cordova following the example application.
git clone https://github.com/IndoorAtlas/sdk-cordova-examples cd sdk-cordova-examples/CordovaExamples
The example project contains the following features:
You can get Google Maps API key from: https://console.developers.google.com/apis/credentials
Add the necessary credentials in
cordova platform add https://github.com/apache/cordova-ios.git#4.4.0-ios-sim
cordova platform add android
If you wish to develop for both Android and iOS you can add both platforms one after the other.
cordova plugin add cordova-plugin-spinner cordova plugin add https://github.com/IndoorAtlas/cordova-plugin.git
cordova build cordova run
If you wish to build or run the application for an specific platform append the word
ios at the end of each of the previous commands.
Note that if you wish to run these examples in an iOS device you have to open Xcode and set up a development team