Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Frontend testing

Rosco Kalis edited this page Apr 13, 2016 · 2 revisions

iOS

Follow the Build Instructions for iOS

Inside Xcode, select the correct build destination (Emulator or a connected debugging device) and run:

  • Product → Run (Cmd + R)

Android

Follow the Build Instructions for Android

Assuming the installed command line tools

  • Using Android SDK Manager

  • Install platform-tools

  • Update $ANDROID_HOME to the correct location

  • Update $PATH to include $ANDROID_HOME/tools and $ANDROID_HOME/platform-tools

To emulate, you will need an emulator image (avd). There are several guides to find on the internet to obtain one. Alternatively, you could use Android Studio.

Add the Cordova Whitelist plugin

ionic plugin add https://github.com/apache/cordova-plugin-whitelist.git
ionic run android

For debugging, use the adb extension for Chrome

Using Ionic Lab

Run ionic serve --lab and navigate to localhost:8080

Clone this wiki locally