Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Ionic
  • Table Of Contents Toc
Learning Ionic

Learning Ionic

By : Arvind Ravulavaru
4.4 (14)
close
close
Learning Ionic

Learning Ionic

4.4 (14)
By: Arvind Ravulavaru

Overview of this book

This book is intended for those who want to learn how to build hybrid mobile applications using Ionic. It is also ideal for people who want to explore theming for Ionic apps. Prior knowledge of AngularJS is essential to complete this book successfully.
Table of Contents (12 chapters)
close
close
11
Index

Testing the application


Now that we are done with building the application, we will add the iOS and Android platforms, to test the application. Run this:

ionic platform add ios
ionic platform add android

Next, we will emulate/run the app. I have a Samsung Galaxy Note 3 mobile as one device and an iOS emulator as another device.

I have tested the app by running it on the Android device and emulating it on the iOS emulator. You can do so the same way or you can use an Android emulator and an iOS emulator for test purposes as well. To launch/emulate the application, run this:

ionic run android –l –c

You can also use this:

ionic emulate ios –l –c

Note

The –l flag sets up the live reload option when emulating/running on an emulator/device and the –c flag enables JavaScript console logs to be printed in a command prompt/terminal. These are the two of the most helpful flags while debugging Ionic apps on emulators/devices.

Once the app is launched in both the devices, you should see the main page of...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Ionic
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon