Skip to Content
Mobile App Development with Ionic 2, 1st Edition
book

Mobile App Development with Ionic 2, 1st Edition

by Chris Griffith
April 2017
Intermediate to advanced content levelIntermediate to advanced
292 pages
6h 27m
English
O'Reilly Media, Inc.
Content preview from Mobile App Development with Ionic 2, 1st Edition

Chapter 11. Deploying Your Application

Now with your application fully tested, it is time to create the versions that can be submitted to the various app stores. Before we generate the release build of our app, we should remove any assets that should not be included in our production release.

For example, the Console plugin was added when we first generated our Ionic application, so let’s remove it from our installed plugins. To do this, simply run:

$ ionic plugin remove cordova-plugin-console

We also need to manually delete the reference to this plugin in our config.xml file. Locate this line and delete it:

<plugin name="cordova-plugin-console" spec="~1.0.4"/>

Adjusting the config.xml File

Before generating your production build, you may also need to adjust the config.xml file with some additional settings. By default, the config.xml that is generated by Ionic is fairly bare bones. There are many additional settings you may wish to configure for your application, such as restricting the OS versions your app will run on. Other items within the config.xml that you may want to adjust can include the version number, restricting the domain access list, and replacing development API endpoints with production API endpoints.

For a summary of these settings, see Appendix B or the full documentation at the Cordova website.

App Icons and Splash Screens

If you have not already replaced the stock icons and splash screens that are included when you use the Ionic templates, now would be ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ionic : Hybrid Mobile App Development

Ionic : Hybrid Mobile App Development

Rahat Khanna, Sani Yusuf, Hoc Phan

Publisher Resources

ISBN: 9781491937778Errata Page