Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
panelIconId1f393
panelIcon:mortar_board:
panelIconText🎓
bgColor#4C9AFF

In depth learning on App Configs can be found in this course in Motive Academy.

Table of Contents
minLevel1
maxLevel6
outlinefalse
typelist
printablefalse

Overview

When you are ready to deploy your training app, It needs to include a configuration that will allow it to connect to the intended content. There are three ways to include configuration information. Each has There are pros and cons for each method that are detailed below.

Direct configuration in the Unity project

You can create a configuration that is dropped into the Unity project directly. When you choose this option, the configuration information is baked-in to the app when you build it. The configuration info can not be changed without re-building app and redeploying the APK.

...

Cons: You can not change where the content is hosted - this specifically applies of you are building content for another party who will eventually want to change the hosting location.

Copy an app config file onto the headset

The second option for app configuration is to copy an app config file (a .json text file) into a specified directory on your headset. This method allows you to change the config information without rebuilding the app in Unity. It requires a direct connection between the computer where the config file is stored and the headset, meaning that the process would have to be repeated for each headset you are updatedupdating.

...

Pros: This method allows you to override any existing app config info and is easy to implement. It is best used when you have one headset that you would like to test with different configs.

...

Info

Note that this file will override all other config information that is already present.

Use a Launch APK

The final option for setting app config information is to use a Launch APK. This APK can be distributed using a device management solution, just as you would distribute the training APK. When both the training APK and the Launch APK are on the headset, the training APK will connect with the launch APK and gather the correct config information.

...

Cons: Creating Launch APK is less straight forward than the baked-in credentials or the config file.

Related Articles