Documentation

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 IDcom.contec.filecap
MechanismAndroid Enterprise managed configurations. The app declares its keys, so EMM consoles show them as a form.
DistributionManaged 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#

KeyTypeRequiredDescription
hostStringyes*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.
apiKeyStringyes*The portal’s API key, see Where to find the API key. The same key serves every user of the portal.
emailStringyes*The sender’s email address, as known to the FileCap server.
phoneStringnoThe sender’s mobile number, used for SMS verification.
maxDownloadsIntegernoDefault download count per transfer. Clamped to the server maximum. 0 leaves it to the user.
maxDaysIntegernoDefault retention in days. Clamped to the server maximum. 0 leaves it to the user.
allowUserChangesBooleannotrue 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 optionally phone) 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#

  1. When the configuration arrives, at launch or when the app returns to the foreground, FileCap applies the values and verifies them with the portal.
  2. 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.
  3. When no phone was delivered, the mobile number is an optional field on the result screen. Users on a tablet or without a mobile number leave it empty.
  4. 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 keyValue
hostThe portal host name, the same for everyone
apiKeyThe portal’s API key, the same for everyone
emailYour EMM’s variable for the user’s email address
phoneYour 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:

  1. Approve or add FileCap in managed Google Play, from your EMM console.
  2. Create an app configuration policy for FileCap. The console reads the keys from the app and shows them as a form.
  3. Fill in host and apiKey, choose the email variable for email, and leave allowUserChanges off.
  4. Assign the policy and the app to the users or devices.

Where to find this in common consoles:

EMMLocation
Microsoft IntuneApps > App configuration policies > Add > Managed devices, platform Android Enterprise, targeted app FileCap, then Use configuration designer
Google endpoint managementGoogle Admin console, Apps > Web and mobile apps, the Android app FileCap, then its managed configurations
Omnissa Workspace ONE UEMResources > Apps > Native > Public, FileCap from Google Play, then Application Configuration in the assignment
Ivanti Neurons for MDM / Ivanti EPMMThe 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.

KeyExample
statusconnected or failed
errorServer error: INVALID_API_KEY (only when failed)
hostcompany.filecap.eu
emailj.doe@company.com
serverVersion2026.10.0
appVersion2.3.0
lastChecked2026-09-21T09:46:12Z

The API key is never reported.

Troubleshooting#

SymptomCause / fix
Configuration failed: INVALID_API_KEYThe 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 lockedThe 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 configurationThe app reads the configuration at launch and when it returns to the foreground. Close the app and open it again.
Only some values are lockedOnly values that are filled in are locked.
Values differ from the policymaxDownloads and maxDays are clamped to the server maximum; a full URL in host is reduced to the host name.
The email address is emptyThe EMM variable has no value for this user. The field then stays editable, and the user fills in the address.