Build an App for a Specific Platform

Before you build an app for Android, iOS, or Windows platforms, you must have done the following:

If you plan to distribute your apps through the app stores - Google Play, the App Store, or Microsoft Store - there are requirements that you need to set up and configure before you build the app. For example, for iOS builds, you need to have the provisioning file because it contains the App-ID you need to enter in App Settings.

When you build an app for Android or iOS platforms, the result is a compiled file that contains all the information required for your app to be distributed. In the case of Windows, the result is a zip file.

If you do not want to build apps and distribute the files, you can simply use Geocortex Go to open and run your app. To do so, you need to download the correct version of Geocortex Go from the appropriate store to each device and have the appropriate ArcGIS licenses for each user.

Before you can build an app for each of the stores, you will need the following:

Build an Android App

To build an app for Android:

  1. In Mobile Designer, click Deploy to open the Deploy panel.

    If your app is not in the Production stage, the Build App button will not be available.
  2. Click the Build App button.

  3. When the Build App dialog opens, click the Choose a platform drop-down list.

  4. Select Android in the drop-down list, and then click OK.

    New options appear in the Build App dialog.

    The App Name, App ID and Version number that you entered in App Settings for the Android version of the app appear above the options.

  5. To load the KeyStore File, click the Select File button, navigate to the file location, select the file, and then click OK.

  6. In the KeyStore File Password box, type or paste in the password to access the KeyStore File.

  7. In the Private File Password box, type or paste in the password used to encrypt the private key.

  8. If you have more than one set of keys in the KeyStore, type in the name of the set of keys to use for this app.

  9. Click OK.

    A dialog opens to show you the status of the Build, which can take a few minutes, depending on the size of the app and its data.

    When the build is complete, the dialog updates to show that the build was successful and provide buttons to download the app or show the link to the app so that it can be copied.

  10. Do any of the following: 

  11. Once the file is downloaded, extract the contents to the location you want.

    Once you have the Android app, you can distribute the app in multiple ways. For more information, see Distribute an App.

Build an iOS App

If you are building an iOS app for distribution via the App Store, you need a provisioning file and a certificate before you can use Mobile Designer to build your app. The provisioning file from Apple will have an App ID within it. You must add that ID under App Settings before you build the app.
It is possible to have subsets, that is, have a provisioning file and certificate for any app from a particular company: com.geocortex.*.
You must ensure that the App ID you enter, matches the App ID in the provisioning file.

To build an app for iOS:

  1. In Mobile Designer, click Deploy to open the Deploy panel.

    If your app is not in the Production stage, the Build App button will not be available.
  2. Click the Build App button.

  3. When the Build App dialog opens, click the Choose a platform drop-down list.

  4. Select iOS in the drop-down list, and then click OK.

    New options appear in the Build App dialog.

    The App Name, App ID and Version number that you entered in App Settings for the iOS version of the app appear above the options.

  5. To load the Provisioning File, click the Select File button, navigate to the file location, select the file, and then click OK.

  6. To load the P12 File that matches the Provisioning file, click the Select File button, navigate to the file location, select the file, and then click OK.

  7. In the P12 Password box, type or paste in the password.

  8. Click OK.

    A dialog opens to show you the status of the Build, which can take a few minutes, depending on the size of the app and its data.

    When the build is complete, the dialog updates to show that the build was successful and provide buttons to download the app or show the link to the app so that it can be copied.

  9. Do any of the following: 

  10. Once you have the iOS app, you can distribute the app in multiple ways. For more information, see Distribute an App.

Build and Install a Windows App

To build an app for Windows:

  1. In Mobile Designer, click Deploy to open the Deploy panel.

    If your app is not in the Production stage, the Build App button will not be available.
  2. Click the Build App button.

  3. When the Build App dialog opens, click the Choose a platform drop-down list.

  4. Select Windows in the drop-down list, and then click OK.

    New options appear in the Build App dialog.

    The App Name, App ID and Version number that you entered in App Settings for the Windows version of the app appear above the options.

  5. To load the PFX File, click the Select File button, navigate to the file location, select the file, and then click Open.

  6. In the PFX File Password box, type or paste in the password that opens the PFX File.

  7. Click OK.

    A dialog opens to show you the status of the Build, which can take a few minutes, depending on the size of the app and it's data.

    When the build is complete, the dialog updates to show that the build was successful and provide buttons to download the app or show the link to the app so that it can be copied.

  8. Do one of the following: 

  9. Once the zip file is downloaded, extract the contents to the location you want.

To install your app:

  1. Navigate to the folder where you extracted the zipped app.

  2. To begin the installation, double-click the Geocortex.Mobile.Viewer.appxbundle file.

  3. When the Install [Name-of-App]? dialog opens, click Install.

    The Request to access your precise location opens.

  4. Click Yes.

    The app opens. You may be asked to sign in if the app is secured.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.2