Book Image

Hybrid Mobile Development with Ionic

By : Gaurav Saini
Book Image

Hybrid Mobile Development with Ionic

By: Gaurav Saini

Overview of this book

Ionic is an open source, front-end framework that allows you to develop hybrid mobile apps without any native-language hassle for each platform. It offers a library of mobile-optimized HTML, CSS, and JS components for building highly interactive mobile apps. This book will help you to develop a complete, professional and quality mobile application with Ionic Framework. You will start the journey by learning to configure, customize, and migrate Ionic 1x to 3x. Then, you will move on to Ionic 3 components and see how you can customize them according to your applications. You will also implement various native plugins and integrate them with Ionic and Ionic Cloud services to use them optimally in your application. By this time, you will be able to create a full-fledged e-commerce application. Next, you will master authorization, authentication, and security techniques in Ionic 3 to ensure that your application and data are secure. Further, you will integrate the backend services such as Firebase and the Cordova iBeacon plugin in your application. Lastly, you will be looking into Progressive Web Applications and its support with Ionic, with a demonstration of an offline-first application. By the end of the book, you will not only have built a professional, hybrid mobile application, but will also have ensured that your app is secure and performance driven.
Table of Contents (9 chapters)

Ionic package

Ionic package is another Cloud service that eases the native build process for different platforms. Basically, ionic package builds the Cordova application in the cloud. It is a perfect choice for someone who needs to build iOS apps, but works on Windows or Linux. Some advantages of using the ionic package service are:

  • Sends builds to others
  • Builds apps for platform not supported
  • Generates .apk and .ipa files, which can be directly uploaded to app stores

As we have already set up the security profile and credentials, we can straightaway get started. Here we build our application for PLATFORM_TAG Android and PROFILE_TAG prod:

You can now see from the list of package builds available, their build status, and download them by ID:

For downloading you need to just mention BUILD_ID:

    $ ionic package download 4

Many times we did not apply the - -save flag while adding a cordova plugin, which did not...