Single company server
People open the app and land on your server, with no way to add another one.
{
"serverUrl": "https://chat.example.com",
"serverName": "Example chat",
"allowOtherServers": "false"
}Android app directory · Communication
These are the AppConfig keys Mattermost documents for its mobile apps, as they apply to Mattermost on Android. They help IT point devices at the right server, limit which servers people can add and reduce data leaking from the app. Mattermost's table also shows which keys each platform supports, so check it for your version. Mattermost relies on the AppConfig standard and does not support app wrapping.
com.mattermost.rn Common setups
Copy a setup into the managed configuration of a policy, then adjust the values. Each one uses only keys explained below.
People open the app and land on your server, with no way to add another one.
{
"serverUrl": "https://chat.example.com",
"serverName": "Example chat",
"allowOtherServers": "false"
}Hide content in the app switcher, block screenshots, stop copy and paste, and ask people to unlock when the app opens.
{
"blurApplicationScreen": "true",
"copyAndPasteProtection": "true",
"inAppPinCode": "true"
}Stop the app from opening on rooted devices, ask people to unlock with their fingerprint or passcode, and name your company in the prompt.
{
"jailbreakDetection": "true",
"inAppPinCode": "true",
"vendor": "Example Ltd IT"
}Managed configuration
Key names and value types come from the vendor’s documentation. The explanations are written by Nomid.
| Key | Type | What it does | Example |
|---|---|---|---|
| Server and sign-in | |||
serverUrl | Server address | Sets the default Mattermost server, so people do not have to type it when they first open the app. | https://chat.example.com |
serverName | Display name | Auto-fills the display name for the server set in serverUrl. | Example chat |
allowOtherServers | Text: true or false | When off, people can only use the server you defined. When on, which is the default, they can add other servers. | false |
username | User name or email | The user name or email used to authenticate to the server. Mattermost documents no default. | jsmith@example.com |
| Data protection | |||
blurApplicationScreen | Text: true or false | Blurs the app when it goes to the background. On Android it also blocks screenshots of the app. | true |
copyAndPasteProtection | Text: true or false | Stops people from copying from or pasting into text fields in the app. | true |
jailbreakDetection | Text: true or false | Prevents the app from launching on rooted or jailbroken devices. | true |
inAppPinCode | Text: true or false | Asks the person to unlock the device with their fingerprint or passcode when the app opens, and again after it was in the background for more than five minutes. | true |
vendor | Company name | The name of your company or MDM provider, shown in the text of passcode prompts so people know why the app is protected. | Example Ltd IT |
Deploy with Nomid
Find it on Google Play from the policy’s apps list and choose how it is installed.
In the policy, set the app’s managed configuration with the keys and values from this page.
Devices in the policy receive Mattermost and its configuration on their next sync.
Questions
com.mattermost.rn. Use it to find the app when you add it to a policy.
No. Mattermost's table marks useVPN and timeoutVPN as iOS only, so this page leaves them out. Check the table for your app version before you rely on a key.
Mattermost says it does not support app wrapping, because it can break real-time messaging. It supports AppConfig only.
Yes, Mattermost offers an XML template of the configuration file on its documentation page.
Add the app to a Nomid policy, set its configuration and choose its permissions.