This module is optional. To build the application for iOS and/or Android, you need the iOS SDK and/or the Android SDK installed on your system.
The InAppBrowser plugin is used in Module 9 to support Facebook login when running in Cordova.
On the command line, navigate to the ionic-tutorial/conference directory
Add the InAppBrowser plugin
cordova plugins add org.apache.cordova.inappbrowser
You need the iOS SDK installed on your computer to build an iOS version of your application using the steps below.
On the command line, make sure you are in the ionic-tutorial/conference directory
Add support for the iOS platform:
ionic platform add ios
Build the project:
ionic build ios
Open conference.xcodeproj in the conference/platforms/ios directory
In Xcode, run the application on a device connected to your computer or in the iOS emulator
You need the Android SDK installed on your computer to build an Android version of your application using the steps below.
Make sure the Android SDK and the ant build tool are available on your system. The Android SDK is available here. Both the android and ant tools must be available in your path. To test your configuration, you should be able to execute both android and ant from the command line.
On the command line, make sure you are in the ionic-tutorial/conference directory
Add support for the Android platform:
ionic platform add android
Build the project:
ionic build android
The project is built in the conference/platforms/android folder
To build and run the application on an Android device connected to your computer using a USB cable:
ionic run android
To build and run the application in the Android emulator:
ionic emulate android