You can run the quickstart either using Cordova CLI or using Visual Studio Tools for Apache Cordova. Running the quickstart using VS Tools for Apache Cordova provides a seamless experience by letting you debug and run the quickstart on different platforms (Android, iOS, Windows and Windows Phone) from within Visual Studio.
-
Edit ./ZUMOAPPNAME/www/js/index.js and replace the ZUMOAPPURL placeholder with your Mobile App cloud backend URL.
-
Change to the Cordova quickstart directory:
cd ./ZUMOAPPNAME
-
Add the platform you want to build the quickstart for:
cordova platform add [android | ios | windows | wp8]
-
Run the quickstart:
cordova run [android | ios | windows | wp8]
- Cordova CLI
- Target platform SDK.
- Edit ./ZUMOAPPNAME/www/js/index.js and replace the ZUMOAPPURL placeholder with your Mobile App cloud backend URL.
- Open ./ZUMOAPPNAME/ZUMOAPPNAME.sln in Visual Studio
- From within Visual Studio, choose the platform and the emulator/device
- Build the project. Skipping this step while debugging/running the project for the first time may fail to load the required cordova plugins.
- Run (Ctrl + F5) or Debug (F5).
- Visual Studio Tools For Apacha Cordova
- Refer Visual Studio documentation for platform specific setup needed for building, debugging and running your app.