Book Image

Ionic Cookbook

By : Hoc Phan
Book Image

Ionic Cookbook

By: Hoc Phan

Overview of this book

Table of Contents (18 chapters)
Ionic Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using PhoneGap Build for cross-platform applications


Adobe PhoneGap Build is a very useful product that provides build-as-a-service in the cloud. If you are having trouble building an app locally in your computer, you can upload the entire Ionic project to PhoneGap Build, and it will build the app for Apple, Android, and Windows Phone automatically.

Getting ready

Go to https://build.phonegap.com and register for a free account. You will be able to build one private app for free. For additional private apps, there is a monthly fee associated with the account.

How to do it...

Here are the instructions to use PhoneGap Build for cross-platform applications:

  1. Zip the entire /www folder and replace cordova.js with phonegap.js in index.html, as described in http://docs.build.phonegap.com/en_US/introduction_getting_started.md.html#Getting%20Started%20with%20Build.

  2. You may have to edit config.xml to ensure that all the plugins are included. Detailed changes are available in PhoneGap documentation, which...