Book Image

Getting Started with Ionic

By : Rahat Khanna
Book Image

Getting Started with Ionic

By: Rahat Khanna

Overview of this book

Hybrid Apps are a promising choice in mobile app development to achieve cost effectiveness and rapid development. However, they were not preferred over native apps until few years back due to a poor performance and bad user experience, but everything has changed with the release of Ionic. It has evolved as the most popular choice for Hybrid Mobile App development as it tends to match the native experience and provides robust components/tools to build apps. Getting Started with Ionic equips any web developer with the basic knowledge needed to use modern web technologies to build amazing hybrid mobile apps using Ionic. This fast-paced, practical book explains all the important concepts of AngularJS and Cordova Framework required to develop apps, then gives you a brief introduction to hybrid mobile applications. It will guide you through setting up the environment to develop mobile apps, and through the multiple options and features available in Ionic so you can use them in your mobile apps. Features such as the Side Menu, Tabs, Touch Interactions, and native features such as Bar Code, Camera, and Geolocations are all covered.. Finally, we’ll show you how to use Cordova plugins and publish your apps.
Table of Contents (17 chapters)
Getting Started with Ionic
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 8. Working with Cordova Plugins – ngCordova

In the previous chapters we have learnt how to develop beautiful apps using Ionic components and integrate them into different backends. In this chapter we will learn how to leverage hardware features in Ionic Apps using Cordova plugins. A Mobile App has evolved today from more than just displaying or taking input for information. Mobile Apps have become more powerful in all walks of life, such as mediums for taking pictures from the camera, giving commands via voice, scanning barcodes of products, finding locations and services around us, biometric authorizations, and even helping us to keep fit. In a Hybrid App, utilizing the device capabilities is a bit tricky, but Cordova makes it easy.

ngCordova is an amazing open source library that has Angular wrappers around open source Cordova plugins. This library has a collection of services and extensions that were initially developed by the Ionic team but are driven by the community these days...