Presentation is loading. Please wait.

Presentation is loading. Please wait.

Publishing & Deployment

Similar presentations


Presentation on theme: "Publishing & Deployment"— Presentation transcript:

1 Publishing & Deployment
CIS 136 Building Mobile Apps

2 Preparation

3 Finalizing the assets Code cleanup
Remove unnecessary comments, debugging code, and obsolete code Remove unnecessary files from App folder Ensure you have only ONE config.xml file, in the App folder and that it is correct Ensure you have only ONE index.html file in the WWW folder Ensure that the correct reference to phonegap is in your index.html <script src="cordova.js"></script>

4 Splash screens Splash screen tags have a src, width, height, and are in the <platform> tag, similar to icons each platform will try to use the default splash.png

5 Splash Screens There is a splash screen plugin which could be used to programmatically display and hide a splash screen during application launch Methods: splashscreen.show() Displays the splashscreen navigator.splashscreen.show(); splashscreen.hide() Dismisses the splashcreen navigator.splashscreen.hide();

6 Signing the app

7 Obtaining certificates
In order to get it to a play store, you’ll need to provide the correct certificates and/or signing keys for distribution apps must be digitally signed with a certificate before they can be installed the certificate is used to identify the author of an app the certificate does not need to be signed by a certificate authority apps often use self-signed certificates the app developer holds the certificate's private key all apps can be signed using the same key

8 iOS signing Once you have downloaded the Apple iPhone developer certificate from Apple export it to the P12 keystore format (might need to convert it to a PEM certificate file first) you will need to create a password for it

9 Android signing Download and install Java, and set the java home directory In a command prompt window, run the keytool generator program, substituting in your info in the brackets You will need to create a password, provide your name, location, etc. Signing key will be generated

10 Applying the certificate
In phonegap build, Go to the Account > Edit Setting > Signing Keys' tab to register it

11 Applying the certificate
In phonegap build, Go to the Account > Edit Setting > Signing Keys' tab to unlock it

12 Publishing to a play store

13 Publishing in the Google Play store
Register for a publisher account Play.google.com/apps/publish Accept the Developer distribution agreement Pay a $25 one-time registration fee using Google Wallet Once registered you can sign in to the console

14 Publishing to the Apple Store
Becoming a registered iOS developer is a lengthy process and is sometimes repetitive Join an Apple Developer Program Enroll in the iOS developer program ($99 each year) You’ll eventually get an with information on how to sign in to iTunesConnect Submitting your app to the Apple Store or Mac App Store is a multistep process sign in to iTunes Connect to create an app record and enter necessary information If you’re selling your app on the store, you also enter the information for your reimbursement in iTunes Connect create an archive and sign it with your distribution certificate upload your app using Application Loader Use iTunes Connect to submit your app to the store When your app is approved, use iTunes Connect to release it by setting the date when the app will be available to customers


Download ppt "Publishing & Deployment"

Similar presentations


Ads by Google