# MDM Setup and Supported Web Browsers

Configure Mobile Device Management so the PagerDuty mobile app opens in a specific supported browser on iOS or Android devices.

Our mobile app uses Safari as the default browser for iOS and Chrome as the default browser for Android. Using Mobile Device Management (MDM) setup allows users to choose which browser they would like to log in with. We use the standard [AppConfig](https://developer.apple.com/library/archive/samplecode/sc2279/Introduction/Intro.html) for iOS and [ManagedConfigurations](https://developer.android.com/work/managed-configurations) for Android. You can configure your MDM so that your device uses a different browser.

In your MDM, you will need to add a `loginBrowserScheme` key with a **Scheme** value listed below:

## Supported Browsers

### iOS

| Browser                                                                                              | Scheme                 |
| :--------------------------------------------------------------------------------------------------- | :--------------------- |
| [MaaS360 Browser](https://apps.apple.com/us/app/maas360-browser/id591773034)                         | `maas360browsers`      |
| [Web - Workspace One ](https://apps.apple.com/us/app/web-workspace-one/id525891468)                  | `awbfs`                |
| [Microsoft Edge: Web Browser](https://apps.apple.com/us/app/microsoft-edge-web-browser/id1288723196) | `microsoft-edge-https` |
| [MobileIron Web@Work](https://apps.apple.com/ca/app/mobileiron-web-work/id596170970)                 | `mibrowsersf`          |
| [Google Chrome](https://apps.apple.com/us/app/google-chrome/id535886823)                             | `googlechromes`        |

### Android

| Browser                                                                                                                     | Scheme                 |
| :-------------------------------------------------------------------------------------------------------------------------- | :--------------------- |
| [MaaS360 Browser](https://play.google.com/store/apps/details?id=com.fiberlink.maas360.android.securebrowser&hl=en_CA&gl=US) | `maas360browsers`      |
| [Web - Workspace ONE](https://play.google.com/store/apps/details?id=com.airwatch.browser&hl=en_CA&gl=US)                    | `awbfs`                |
| [Microsoft Edge](https://play.google.com/store/apps/details?id=com.microsoft.emmx&hl=en_CA&gl=US)                           | `microsoft-edge-https` |

## XML for EMM Services

Per the [AppConfig.org](https://www.appconfig.org/assets/images/appconfig-media/appconfig-content/uploads/2017/01/ManagedAppConfig.pdf) guidelines, below is the XML code to use for your Enterprise Mobility Management (EMM) service. We recommend copying and pasting this code into a text editor and saving it as an XML file.

### iOS

```xml
<managedAppConfiguration>
	<version>6.07</version>
	<bundleId>com.pagerduty.PagerDuty</bundleId>
	<dict>
		<string keyName="loginBrowserScheme">
		</string>
	</dict>
	<presentation defaultLocale="en-US">
		<field keyName="loginBrowserScheme" type="input">
			<label>
				<language value="en-US">Login browser scheme</language>
			</label>
			<description>
				<language value="en-US">Application will use specified browser scheme for login.</language>
			</description>
		</field>
	</presentation>
</managedAppConfiguration>
```

### Android

```xml
<managedAppConfiguration>
	<version>6.07</version>
	<bundleId>com.pagerduty.android</bundleId>
	<dict>
		<string keyName="loginBrowserScheme">
		</string>
	</dict>
	<presentation defaultLocale="en-US">
		<field keyName="loginBrowserScheme" type="input">
			<label>
				<language value="en-US">Login browser scheme</language>
			</label>
			<description>
				<language value="en-US">Application will use specified browser scheme for login.</language>
			</description>
		</field>
	</presentation>
</managedAppConfiguration>
```
