Building with PhoneGap
The Akula Cordova SDK helps companies add enterprise features to iOS and Android apps built with Cordova. Although the SDK is based on Apache's open-source Cordova libraries, you can also use it to build PhoneGap apps.
Adobe PhoneGap and Apache Cordova are based on the same core libraries, however there are a few subtle technical differences between the two. As a result, the steps to configure the PhoneGap development environment requires a few modified steps from the Cordova configuration process.
Before using the instructions in this section, you must install PhoneGap 3.0 or later. After installing PhoneGap, you can create a new app and add any platforms to it that you need.
PhoneGap development environment requirements
To develop PhoneGap client apps, your development environment must meet the following system requirements:
|Type of app||Requirement|
|PhoneGap client apps|
Step 1: Preparing to configure PhoneGap for Akula
Before you can integrate Akula with a PhoneGap app, you must first create the PhoneGap app for the appropriate platform: Android or iOS.
To create a new app in PhoneGap, use the following PhoneGap command:
$phonegap create hello com.example.hello HelloWorld
This creates a new app in a directory named hello.
To add the iOS and Android platforms for your output, change to the /hello directory and use the following commands:
phonegap build ios
phonegap build android
These commands create the /platforms/ios and /platforms/android directories under /hello.
After you create the PhoneGap app, the remaining steps will be identical to those required for a Cordova project. For those instructions, start at Step 2 of the Configuring a Cordova Development Environment documentation.