Managed configuration#
FileCap for Android supports Android Enterprise managed configurations: an EMM (MDM) system pushes a small set of values to the app on every managed device or work profile. The app applies those values itself, so the user never types a server name or API key, and locks every value delivered by the organization so it cannot be changed on the device.
| Application ID | com.contec.filecap |
| Mechanism | Android Enterprise managed configurations. The app declares its keys, so EMM consoles show them as a form. |
| Distribution | Managed Google Play |
The keys are the same as for FileCap for iOS, so one set of values serves both apps. For the email alternative see Configuration link.
Keys#
| Key | Type | Required | Description |
|---|---|---|---|
host | String | yes* | Portal host name, for example company.filecap.eu. A full URL such as https://company.filecap.eu/FileCap is accepted and reduced to the host. |
apiKey | String | yes* | The portal’s API key, see Where to find the API key. The same key serves every user of the portal. |
email | String | yes* | The sender’s email address, as known to the FileCap server. |
phone | String | no | The sender’s mobile number, used for SMS verification. |
maxDownloads | Integer | no | Default download count per transfer. Clamped to the server maximum. 0 leaves it to the user. |
maxDays | Integer | no | Default retention in days. Clamped to the server maximum. 0 leaves it to the user. |
allowUserChanges | Boolean | no | true pre-fills the values but leaves them editable. Default false: delivered values are locked. |
* The app can only send once host, API key and email are all known. You may deliver a subset, for instance only host and apiKey, and let users supply the rest themselves or through a configuration link. Only values that are filled in are locked; everything else stays editable. Leaving phone empty is the right choice when the directory has no reliable mobile number or users have tablets without one; the number is optional in the app.
An empty text and the number 0 count as “not delivered”. This matters on Android, because many consoles send every key of the form, also the ones you left empty.
Where to find the API key#
The API key belongs to the portal, not to a user, and is the same key the Outlook and Office 365 add-ins use. You find it in the FileCap admin panel under Configuration > Add-ins > API Key; see Add-ins for the setting and its options.
- The key is a string of 30 uppercase letters and digits. Do not regenerate it while add-ins or apps are using it: they all stop working until they are reconfigured.
- Because one key serves the whole portal, a single policy can serve all users. Only
email(and optionallyphone) differ per user; the EMM fills those from its user variables, see below. - Treat the key like a password: it allows sending through the portal on behalf of any address the portal accepts. Scope who can read app configuration policies in your EMM console. Should the key leak, regenerate it in the admin panel and update the policy.
- If API registration required is enabled on the portal, every device must also be registered with a verification code that the server emails to the sender address. The app detects this after the configuration is applied and guides the user through it (see Device registration). An EMM cannot pre-register a device; the resulting device key is created on the device and bound to the host and sender address.
What the user sees#
- When the configuration arrives, at launch or when the app returns to the foreground, FileCap applies the values and verifies them with the portal.
- A full-screen result appears: Configuration complete with server, email, mobile number and server version, or Configuration failed with the server’s reason (for example
INVALID_API_KEY). Managed values stay in place on failure; correct them in the EMM. - When no
phonewas delivered, the mobile number is an optional field on the result screen. Users on a tablet or without a mobile number leave it empty. - In Settings a Managed by your organization banner appears and every managed value is read-only with a lock icon. The API key is masked.
Delivering changed values re-runs the flow. Removing the configuration unlocks the settings; the last delivered values are kept so the app keeps working.
Per-user values with EMM variables#
An EMM can substitute variables with the enrolled user’s directory attributes, so one policy serves all users. Only fill in a key when your EMM can actually provide the value: a key you leave empty stays editable for the user.
| FileCap key | Value |
|---|---|
host | The portal host name, the same for everyone |
apiKey | The portal’s API key, the same for everyone |
email | Your EMM’s variable for the user’s email address |
phone | Your EMM’s variable for the mobile number, if it has one; otherwise leave empty |
Variable names differ per EMM and can differ between its Android and iOS policies. Use the variable picker of your console, or its documentation, to find the variable for the email address.
Setting it up#
The steps are the same in every EMM:
- Approve or add FileCap in managed Google Play, from your EMM console.
- Create an app configuration policy for FileCap. The console reads the keys from the app and shows them as a form.
- Fill in
hostandapiKey, choose the email variable foremail, and leaveallowUserChangesoff. - Assign the policy and the app to the users or devices.
Where to find this in common consoles:
| EMM | Location |
|---|---|
| Microsoft Intune | Apps > App configuration policies > Add > Managed devices, platform Android Enterprise, targeted app FileCap, then Use configuration designer |
| Google endpoint management | Google Admin console, Apps > Web and mobile apps, the Android app FileCap, then its managed configurations |
| Omnissa Workspace ONE UEM | Resources > Apps > Native > Public, FileCap from Google Play, then Application Configuration in the assignment |
| Ivanti Neurons for MDM / Ivanti EPMM | The app in the App Catalog, then its managed configuration |
Menu names change between console versions; consult your EMM’s documentation for Android Enterprise managed configurations when a name differs.
Test with one device first. The app follows the Android Enterprise standard for managed configurations, but it has not yet been validated on a production EMM system. Assign the policy to a pilot device, check that the Settings screen shows Managed by your organization, and then roll it out further. Please report anything that differs from this page to FileCap support.
Feedback to the EMM#
After each verification a managed app reports its state as Android Enterprise keyed app states. EMM consoles that support app feedback show them per device.
| Key | Example |
|---|---|
status | connected or failed |
error | Server error: INVALID_API_KEY (only when failed) |
host | company.filecap.eu |
email | j.doe@company.com |
serverVersion | 2026.10.0 |
appVersion | 2.3.0 |
lastChecked | 2026-09-21T09:46:12Z |
The API key is never reported.
Troubleshooting#
| Symptom | Cause / fix |
|---|---|
| Configuration failed: INVALID_API_KEY | The key is not the portal’s current API key, or it was regenerated in the admin panel. Copy the current key into the policy; the app verifies again when the new values arrive and on every start. |
| Settings are not locked | The configuration did not reach the app (check the policy’s status in the EMM), or allowUserChanges is on. The app log (Settings > View Logs, category MDM) shows Applying managed configuration when a configuration is applied. |
| Settings stay locked after removing the configuration | The app reads the configuration at launch and when it returns to the foreground. Close the app and open it again. |
| Only some values are locked | Only values that are filled in are locked. |
| Values differ from the policy | maxDownloads and maxDays are clamped to the server maximum; a full URL in host is reduced to the host name. |
| The email address is empty | The EMM variable has no value for this user. The field then stays editable, and the user fills in the address. |