Book Image

Learning Ionic

By : Arvind Ravulavaru
Book Image

Learning Ionic

By: Arvind Ravulavaru

Overview of this book

Table of Contents (19 chapters)
Learning Ionic
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Preparing the app for distribution


Now that we have successfully built our Ionic application, we want to distribute it. The best way to reach a wider audience is with the help of App Stores. But before we start distributing the app, we need our app-specific icons and splash screens integrated with the app. Splash screens are totally optional and depend on the product idea.

Setting up icons and splash screens

By default, when you run:

ionic platform add android 

You can also run this:

ionic platform add ios

The CLI automatically adds a new folder named resources. You can check this out in the ionic-chat-app we created in Chapter 8, Building a Messaging App. The resources folder consists of Ionic, Android, or both subfolders, depending on the platforms you have added. In each of these folders, you will see two subfolders named icon and splash.

Note

If your app uses splash screens, you can keep the splash folder; if not, delete the folder to save a few bytes of your final app installer.

To generate...