This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Frontend testing
Rosco Kalis edited this page Apr 13, 2016
·
2 revisions
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)
Follow the Build Instructions for Android
-
Install Apache Ant
-
Install Android SDK or Android Studio
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