Mobile
Reference page for Mobile job configuration
Overview
Mobile jobs have properties split into four main categories:
Package
Name
The display name of the mobile application
Appstore ID
The ID as it will be known in the Appstore, i.e. "com.my-company.xyz"
Version
The version of the app, i.e. "1.4.2"
Description
A simple description of the application
Author
The name of the app Author
Author Email
The email address of the app Author
Icon
Optional. An icon that will represent your mobile app.
Environment
Application URL
The URL of the deployed NG Mobile application. Can be ServoyCloud environment URLs or self-hosted.
Mobile build/deploy type
The types of OS that will be supported.
Options
Android Debug - Selected by default when creating mobile job
Android for playstore
iOS
Plugins
Google Service-info.plist
File upload required when using FCM push notifications from the Used plugins list below. This file can be found in the Firebase console.
Google Service.json
File upload required when using FCM push notifications from the Used plugins list below. This file can be found in the Firebase console.
Lock Display Orientation
Locks the display to a portrait or landscape orientation. If your application is developed to be used in portrait orientation, lock display orientation to ensure a seamless experience.
Used Plugins
Available plugins, according to the operating system:
Bar Code Scanner
Camera
Camera Preview
Clear Text Traffic (Android Only)
FCM Push Notifications (Requires Google service files)
Fingerprint
Full screen
In-App Browser
Launch Navigator
Location
Network Information
Network Interface
Printer
Screen Orientation
QR Code Scanner
Vibration
Appstore
Android Keystore
File upload of Java .keystore file, required for signing of APK
Android Key Password
Java .keystore password, required for signing of APK
Android Keystore Alias
Java .keystore alias, required for signing of APK
Configure Android keystore
To create a Java keystore file and generate an Android keystore password and alias for signing an APK, you can follow these steps:
Open a Command Prompt or Terminal: You can use your computer's command-line interface to generate the keystore file.
Navigate to the Java JDK Bin Directory: You should have the Java Development Kit (JDK) installed on your computer. Open a command prompt or terminal and navigate to the bin directory of your JDK installation. This is usually located at C:\Program Files\Java\jdk1.x.x\bin on Windows or /usr/lib/jvm/java-x-openjdk-amd64/bin on Linux.
Generate a Keystore File: Use the keytool command to generate a keystore file.
-alias: The alias for your key entry.
-validity: The validity period of the keystore in days.
-keysize: The key size (2048 bits is recommended).
-keyalg: This specifies the algorithm to generate the key pair (RSA in this case).
-keystore: This is the name of your keystore file.
Here's the basic command to create one:
Store Your Keystore Securely: Once the keystore is generated, make sure to store it securely because losing it means you won't be able to update your app.
Enter Information: You will be prompted to enter various information, including your name, organization, and a keystore password. Make sure to remember the keystore password; you'll need it later to sign your APK.
iOS Certificate
File upload of .p12 certificate file, required for signing of IPA.
iOS Certificate Password
.p12 certificate password, required for signing of IPA
iOS Provision file
File upload of .mobileprovision file, required for signing of IPA. This is your provisioning profile that specifies which devices can run your app during development. It also contains information about the App ID and certificate.
Configure iOS Certificate and Provision
Apple Developer Account:
Ensure that you have an Apple Developer account. You will need this to create and manage certificates and provisioning profiles.
Create an App ID:
Log in to your Apple Developer account.
Go to the "Certificates, Identifiers & Profiles" section.
Under "Identifiers," create an App ID for your app. Make sure it matches your app's Bundle Identifier.
Create a Development Certificate:
In the "Certificates" section, under "Development," click the "+" button to create a new certificate.
Follow the on-screen instructions to create a Certificate Signing Request (CSR) using Keychain Access on your Mac.
Upload the CSR to generate the development certificate.
Create a Provisioning Profile:
In the "Profiles" section, under "Development," click the "+" button to create a new provisioning profile.
Select "iOS App Development" as the type.
Choose the App ID you created earlier.
Select the development certificate you just created.
Choose the devices you want to use for testing (iOS devices must be registered in the Developer Portal).
Give your provisioning profile a name and generate it.
Download the Provisioning Profile:
After generating the provisioning profile, download it to your Mac. This will generate your .mobileprovision file.
Export the Development Certificate:
Open Keychain Access on your Mac.
Under "My Certificates," locate your iOS Development certificate.
Right-click on it and choose "Export."
Save it in .p12 format and set a password for it. This will generate your .p12 file
Last updated