3 min read

Today, we will learn how to package and publish an Oracle JET mobile application on Apple Store and Android Play Store.

We can package and publish Oracle JET-based hybrid mobile applications to Google Play or Apple App stores, using framework support and third-party tools.

Packaging a mobile application

An Oracle JET Hybrid mobile application can be packaged with the help of Grunt build release commands, as described in the following steps:

  1. The Grunt release command can be issued with the desired platform as follows: grunt build:release –platform={ ios| android}
  1. Code sign the application based on the platform in the buildConfig.json component.

Note: Further details regarding code sign per platform are available at: Android: https:// cordova.apache.org/docs/en/latest/guide/platforms/android/tools. html. iOS:https:// cordova.apache.org/docs/en/latest/guide/platforms/ios/tools.Html.

  1. We can pass the code sign details and rebuild the application using the following command:
grunt build:release --platform={ios|android}

  1. The application can be tested after the preceding changes using the following serve command:
grunt serve:release --platform=ios|android [--web=true


--livereloadPort=live-reload-port-number -



Publishing a mobile application

Publishing an Oracle JET hybrid mobile application is as per the platform-specific guidelines. Each platform has defined certain standards and procedures to distribute an app on the respective platforms.

Publishing on an iOS platform

The steps involved in publishing iOS applications include:

  1. Enrolling in the Apple Developer Program to distribute the app.
  2. Adding advanced, integrated services based on the application type.
  3. Preparing our application with approval and configuration according to iOS standards.
  4. Testing our app on numerous devices and application releases.
  5. Submitting and releasing the application as a mobile app in the store.

Alternatively, we can also distribute the app outside the store. The iOS distribution process is represented in the following diagram:

 iOS distribution process

Please note that the process for distributing applications on iOS presented in the preceding diagram is the latest, as of writing this chapter. It may be altered by the iOS team at a later point. The preceding said process is up-to-date, as of writing this chapter.

Note: For the latest iOS app distribution procedure, please refer to the official iOS documentation at: https://developer.apple.com/library/ios/documentation/IDEs/ Conceptual/AppDistributionGuide/Introduction/Introduction.html

Publishing on an Android platform

There are multiple approaches to publish our application on Android platforms. The following are the steps involved in publishing the app on Android:

  1. Preparing the app for release. We need to perform the following activities to prepare an app for release:
  • Configuring the app for release, including logs and manifests.
  • Testing the release version of the app on multiple devices.
  • Updating the application resources for the release.
  • Preparing any remote applications or services the app interacts with.

2. Releasing the app to the market through Google Play. We need to perform the following activities to prepare an app for release through Google Play:

  • Prepare any promotional documentation required for the app.
  • Configure all the default options and prepare the components.
  • Publish the prepared release version of the app to Google Play.

3. Alternately, we can publish the application through email, or through our own website, for users to download and install.

The steps involved in publishing Android applications are advised in the following diagram:

publishing Android applications

Please note that the process for distributing applications on Android presented in the preceding diagram is the latest, as of writing this chapter. It may be altered by the Android team at a later point.

Note: For the latest Android app distribution procedure, please refer to the official Android documentation at http://developer.android.com/tools/publishing/publishing_overview. html#publishing-release.

You enjoyed an excerpt  from Oracle JET for Developers written by Raja Malleswara Rao Pattamsetti.  With this book, you will learn to leverage Oracle JavaScript Extension Toolkit (JET) to develop efficient client-side applications.

Oracle JET for Developers

Read Next

Auditing Mobile Applications

Creating and configuring a basic mobile application



Subscribe to the weekly Packt Hub newsletter. We'll send you the results of our AI Now Survey, featuring data and insights from across the tech landscape.

* indicates required


Please enter your comment!
Please enter your name here