This page describes how to deploy Reflex on a number of Android devices using an MDM tool like Microsoft Intune, Soti, etc.
This method is the simplest and most secure, but it requires Google.
Prerequisites
The Reflex Android application supports the "managed configuration" feature provided by Android Enterprise.
It only works for terminals running Android 6 or later.
Your MDM tool will therefore need to be able to deploy “managed applications” in accordance with Android Enterprise rules.
Configuration
Each tool is different, however, here we will look at a configuration defined in Microsoft Intune.
- Open Microsoft Intune.
- Search for the Reflex Web application in the Google Play Store, which can be accessed from the MDM tool: https://play.google.com/store/apps/details?id=hardis.com.wagonandroid&hl=en
- Make the application available.
- In the application properties, assign the application to the relevant users or terminals.
- Return to the main menu and select "App configuration policies".
- Create a "managed devices" policy and assign it to the Reflex Web application.
You then need to input the parameters exposed by Reflex Web.
Depending on your MDM tool's capabilities, you can choose between two configuration methods:
Reflex Web parameters
Assisted configuration
Microsoft Intune provides a "Designer" configuration but unfortunately it does not support the "bundleArray" parameter lists exposed by Reflex Web. You will therefore need to use a json file for the configuration.
You will find the description of the parameters further down on this page.
Configuration via json file
The json file consists of lists of keys to which a value must be assigned.
Extract from the json file:
{
"kind": "androidenterprise#managedConfiguration",
"productId": "app:hardis.com.wagonandroid_beta",
"managedProperty": [
{ "key": "configurations",
"valueBundleArray": [
{ "managedProperty": [
{ "key": "pref_name", "valueString": "Test" },
{ "key": "pref_icon", "valueString": "favicon.ico" },
{ "key": "pref_cat_connection",
"valueBundle": {
"managedProperty": [
{ "key": "pref_url", "valueString": " https://10.209.5.47:443/reflex " },
{ "key": "pref_environment", "valueString": "formation" },
{ "key": "pref_application_profile", "valueString": "RFXPGM=HEPWAG&RFXFOR=01" },
{ "key": "pref_url_parameters", "valueString": "" },
{ "key": "pref_desktop", "valueString": "android" },
{ "key": "pref_keep_alive", "valueInteger": 10 }
]
...
You can define several configurations (parameter groups) to enable access to your test environment or production environment, for example, by duplicating the data block, as shown below.
Example of a json file with two parameter groups:
{
"kind": "androidenterprise#managedConfiguration",
"productId": "app:hardis.com.wagonandroid_beta",
"managedProperty": [
{ "key": "configurations",
"valueBundleArray": [
{ "managedProperty": [
{ "key": "pref_name", "valueString": "Test" },
... ]
},
{ "managedProperty": [
{ "key": "pref_name", "valueString": "Production" },
...
Warnings
It is up to the MDM tool to push updates from the Reflex Android application to the terminals.
The parameters set by the MDM tool can no longer be modified by the user. If you want users to be able to decide this, the MDM tool should not populate the parameter.
Parameters modified by the MDM tool will be taken into account when the Reflex Android application is started.
Desktop shortcuts that enable users to access each Reflex environment directly cannot be deployed automatically. These will need to be created by the user manually using the environment menu in Reflex Apk.
The Reflex Apk variant that can be downloaded from Google Play Store has the following restrictions:
- Auto-updating from the Reflex server is not permitted.
- Accessing the file system is not permitted. It is therefore not possible to inject parameters via files.