Join CTO Moataz Soliman as he explores the potential impact poor performance can have on your bottom line. 👉 Register Today

ebook icon

App Development

General

How to Release Your Cordova App for iOS and Android

How to Release Your Cordova App for iOS and Android

So you've built a Cordova app and you're ready to release it out into the world — congratulations! This guide will show you how to deploy your Cordova app on the App Store and Google Play.

How to release your Cordova app for iOS

0. Prerequisites

  • Have a Cordova project with an iOS app
  • Make sure that you are running on Apple OS X. You can check with the following code:

The result will look like this:

Requirements check results for ios:Apple OS X: installed


1. Build a deployable iOS project

Run the following command:


As soon as the building is completed successfully, you will find the project in /platforms/ios/iOSApp

2. Open the project in Xcode

From the command line:


3. Sign and publish your app on the App Store

Follow this step-by-step guide for How to Submit Your App to the App Store.

How to release your Cordova app for Android

1. Update your release information

  • Open the config.xml and package.json files in your project’s directory.
  • Edit all the release details you need: the widget ID, app icon, and versioning.

2. Make sure you build properly

From the Cordova directory execute the following:


Open config.xml and add the following bracket where instabug is the name of your domain and androidapp is the name of your app. The result will look like this:


3. Specify if you want the icon to apply to all platforms or Android only

This can be done by adding the following:


4. Specify the version of your app

Remember to increment every time when building a new release. This can be done by adding the following:


5. Add the Android platform back


6. Sign your Android app

Cordova has a built-in way to let you sign Android apps quickly. This is done with a config file, build.json, which will carry all the needed information to sign the app. The file should look like this:


Edit the config file to your liking.

When it’s ready, execute the following command:


Now you should have your final product: app-release.apk

7. Upload your APK to the Google Play Store

Follow this step-by-step guide for How to Submit Your App to the Google Play Store.

Want to try our latest AI features?
Sign up to the closed beta now
Thank you! We'll contact you once a spot opens up.
Oops! Something went wrong while submitting the form.

Learn more:

Instabug empowers mobile teams to maintain industry-leading apps with mobile-focused, user-centric stability and performance monitoring.

Visit our sandbox or book a demo to see how Instabug can help your app

Seeing is Believing, Start Your 14-Day Free Trial

In less than a minute, integrate the Instabug SDK for iOS, Android, React Native, Xamarin, Cordova, Flutter, and Unity mobile apps