Comment on page
Configure app
The Configure app screen displays the current configuration of the app.

The app's embedded library version number is displayed. If the library version is less than the Appfigurate version, a warning icon is displayed. If the library version is equal to the Appfigurate version, then a green tick is displayed.
If the app being configured is a debug build (the
APLConfiguration
(iOS/watchOS) or nz.co.electricbolt.appfiguratelibrary.Configuration
(Android) subclass method allowInvalidSignatures
returned true), then the text Debug build - App allows invalid signature
is displayed with a warning icon. Signature is valid
is displayed with a green tick if the correct private key was used to sign the configuration payload.The configurable properties in the app are displayed on screen and are editable.
Float and Double properties are represented by a slider, text field, a list or a list with custom items.
If the app is a release build, any encrypted strings are displayed with a key icon
. If the app is a debug build, plain text strings are used instead, and the key icon is not displayed.

Any properties that require the app to be restarted after being changed are displayed with a restart icon
.

Tapping on a configurable property that is a list, or a list with custom items shows the following screen:
%20-%202023-01-24%20at%2018.41.59.png?alt=media&token=72e917d7-ae1f-4611-a3db-aafc56efc322)
The currently selected list item is displayed with a tick ✓. To select a new item, tap any item in the list; the list screen will be dismissed automatically. Long press an item to copy the value onto the iOS or Android clipboard.
If the list is customizable, then the
Add custom item
button is displayed. Tapping the button will display the following screen:
%20-%202023-01-24%20at%2018.49.47.png?alt=media&token=afcc1b7b-154a-4e54-ae5b-1372b874e723)
If there is text in the iOS or Android clipboard, then the clipboard contents are automatically pasted into the value field. The first numeric range is highlighted automatically.
Enter a name and value. The value must conform to the property's minimum and maximum values (if applicable) and regular expression (if applicable). If the value does not conform, the field will be displayed bold red, and the
Add
button will be disabled.On the list screen, custom items are displayed below predefined items hardcoded in your app:
%20-%202023-01-24%20at%2018.54.46.png?alt=media&token=0602311d-b478-494f-9180-abf5a4bad65b)
When you are ready to apply the selected configuration to your app, tap the
Apply ˅
toolbar button. Your app will be launched, and it's configuration updated.Long press the
Apply ˅
toolbar button or drag from the right edge of the screen towards the left to open the Apply menu.
%20-%202023-01-24%20at%2019.15.36.png?alt=media&token=e12db1a8-b053-4945-8a3f-777613fd0d73)
The
Apply to this device
menu item performs identically to tapping the Apply ˅
toolbar button.The
Apply invalid to this device
menu item, generates a random private key, which is then used to sign the configuration payload. Your app will then be launched. If your app's APLConfiguration
(iOS/watchOS) or nz.co.electricbolt.appfiguratelibrary.Configuration
(Android) subclass allowInvalidSignatures
method returns true, then the app's configuration will be updated. If the method returns false, then the configuration will not be updated. This can be useful in testing your apps release build to ensure it only accepts valid signatures.The
Reset this device
menu item resets your app's configuration back to factory defaults (the values specified in your APLConfiguration
(iOS/watchOS) or nz.co.electricbolt.appfiguratelibrary.Configuration
(Android) subclass reset
method).Last modified 9mo ago