Before you start, make sure you have completed the preparation tasks in both Preparing for the mobile package (part 1) and Preparing for the mobile package (part 2).
To customize Appeon Workspace and package it as a standalone application, follow the steps below:
Step 1: Click the Package () button on the PowerServer Toolkit to open the PowerServer Application Package Wizard.
Step 2: Select Customized Appeon Workspace as the package type.
To package a deployment project that can deploy the application to servers, select Server Deployment Project and follow detailed instructions in Packaging a server deployment project.
To package the mobile application to a stand-alone mobile app, select Standalone Mobile Project and follow detailed instructions in Packaging a stand-alone mobile project.
Step 3: Select the device type (iOS or Android) on which the Appeon Workspace application will run after packaged.
Step 4: Select the package profile. The profile is displayed according to the selected package type and device type.
If no package profile is available, you should create one first by following instructions in Creating a package profile.
Step 5: Click Package to start packaging the application files.
Step 6: The PowerServer Application Package Wizard appears. Wait until the package process is complete.
Step 7: Click Finish when the package process is complete.
File/Archive Name setting
During the packaging process, a file/archive name is automatically configured for the Xcode project or the Android project and will be used as the default name of the IPA file or APK file later when compiling. Please do not change this name. This name is stored in the build.gradle of the Android project, or the EonNativeApp.xcscheme of the Xcode project.
The name is composed of the Display Name and Bundle Identifier for iOS or App Name and App Identifier for Android, and the PowerServer Toolkit version and build number, and you should keep this file name unchanged and also when you upgrade the PowerServer product and want to create an updated package of Appeon Workspace, be sure to input the same Display Name and Bundle Identifier for iOS or App Name and App Identifier for Android as before so that the Appeon Workspace installed on the device can correctly identify the updated package and automatically get upgraded.
Step 8: Go to the folder for iOS or Android under the specified location.
-
For iOS, you will find the following two zip files:
-
DisplayName.zip: the project files for compiling the iOS app (IPA file) of the workspace
-
AppeonMobile.framework.zip: the mobile client library
Then follow the instructions in the section called “Package & Distribute iOS Apps” in PowerServer Mobile Tutorials to compile and distribute the IPA file.
-
-
For Android, you will find the following zip file(s):
-
AppName-32bit.zip and/or AppName-64bit.zip: the project files for compiling the 32-bit and/or 64-bit APK file of the workspace
Then follow the instructions in the section called “Package & Distribute Android Apps” in PowerServer Mobile Tutorials to compile and distribute the APK file.
-