Book Image

PhoneGap 3 Beginner's Guide

By : Giorgio Natili
Book Image

PhoneGap 3 Beginner's Guide

By: Giorgio Natili

Overview of this book

<p>You don’t have to know complex languages like Objective C to compete in the ever-growing mobile market place. The PhoneGap framework lets you use your web development skills to build HTML and JavaScript-based mobile applications with native wrappers that run on all the major mobile platforms, including Android, iOS, and Windows Phone 8.</p> <p>"PhoneGap 3 Beginner's Guide" will help you break into the world of mobile application development. You will learn how to set up and configure your mobile development environment, implement the most common features of modern mobile apps, and build rich, native-style applications. The examples in this book deal with real use case scenarios, which will help you develop your own apps, and then publish them on the most popular app stores.</p> <p>Dive deep into PhoneGap and refine your skills by learning how to build the main features of a real world app.</p> <p>"PhoneGap 3 Beginner's Guide" will guide you through the building blocks of a mobile application that lets users plan a trip and share their trip information. With the help of this app, you will learn how to work with key PhoneGap tools and APIs, extend the framework’s functionality with plug-ins, and integrate device features such as the camera, contacts, storage, and more. By the time you’re finished, you will have a solid understanding of the common challenges mobile app developers face, and you will know how to solve them.</p>
Table of Contents (22 chapters)
PhoneGap 3 Beginner's Guide
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Publishing on the Apple App Store


The Apple App Store is a digital application distribution platform for iOS apps maintained by Apple Inc. Users can browse through the App Store and install applications directly to an iOS device. Although Apple envisions the App Store to be a global product, in reality its market is restricted by national boundaries. In other words, there are potentially as many distinct App Stores as there are countries in the world. To publish an app through the Apple App Store, you need to have an Apple Developer account (http://developer.apple.com/programs/register) and be a member of the iOS Developer Program (http://developer.apple.com/programs/ios/; the cost is USD 99 per year). The first step is to register an app ID with the developer portal and then you have to create the development and distribution certificates.

Then you need to set up a distribution certificate. To do this, you will first need to generate a certificate request from your computer and then upload it to the developer portal. On a Mac, you should do this by opening the Keychain Access application available in Utilities and then go to Keychain Access | Certificate Assistant | Request a Certificate from a Certificate Authority. Enter your e-mail address and name and select Request is Saved to disk to save the file CertificateSigningRequest.certSigningRequest on your desktop. Go to the developer portal, upload the certificate request, and complete the steps required to generate the distribution certificate.

When the certificate is ready, you can create a new distribution Provisioning Profile by selecting the app you want to submit and the certificate to use. Download the file and, in Xcode select Window | Organizer, click on Devices, select Provisioning Profiles and drag the provisioning profile with the .mobileprovision extension to the Organizer. Next, open the build settings pane and set the code-signing identity; in this way, the app is then code signed when you create an archive and you can complete the publication procedure using Xcode. When submitting the app, you will also be required to provide a description, several screenshots, icons, and other information. For details, refer to the online documentation at https://developer.apple.com/library/ios/#documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html.

Note

The verification process varies depending on the number of submissions currently under review, but it typically takes more than two days. You can find the App Store estimated review time at http://reviewtimes.shinydevelopment.com/.

Presenting a simple version of your app as first release will help to speed up the approval process a little bit. It's the initial app approval process that takes the most time; once approved, future updates are far easier to get done. So keep the advanced features for later releases of your app.