Newer Version Available

This content describes an older version of this product. View Latest

MobileApplicationDetail

Represents the packaging attributes for a mobile connected app. This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

MobileApplicationDetail components have the suffix MobileApplicationDetail and are stored in the MobileApplicationDetails folder.

Version

MobileApplicationDetail components are available in API version 47.0 and later.

Fields

Field Name Field Type Description
applicationBinaryFile base64 Base 64-encoded binary data file for the mobile app.
applicationBinaryFileName string Filename for the mobile app binary data file.
applicationBundleIdentifier string iOS apps only: the unique application bundle identifier.
applicationFileLength int The length of the mobile app binary data file.
applicationIconFile string iOS apps only: the application icon.
applicationIconFileName string iOS apps only: the application icon filename.
applicationInstallUrl string URL to install the mobile app.
devicePlatform DevicePlatformType (enumeration of type string) Required. Platform that supports the mobile app. The valid values are:
  • android
  • ios
deviceType string Supported device type for mobile app. The valid values are:
  • minitablet
  • phone
  • tablet
minimumOsVersion string Minimum OS version required to install the mobile app.
privateApp boolean Specifies whether the mobile app is private (true) or not (false).
version string Required. Version number of the mobile app.

Usage

When you create a connected app in Salesforce Classic or Lightning Experience and enter mobile app settings, those settings are stored in a MobileApplicationDetail component. In this example, the metadata retrieved for a connected app includes MobileApplicationDetail metadata.

1<?xml version="1.0" encoding="UTF-8"?>
2<<ConnectedApp xmlns="http://soap.sforce.com/2006/04/metadata">
3  <contactEmail>paul.chen@salesforce.com</contactEmail>
4  <label>MobileApplicationDetailConnectedApp</label>
5  <mobileAppConfig>
6    <applicationBinaryFile></applicationBinaryFile>
7    <applicationInstallUrl>https://appstore.apple.com/MobileApplicationDetail
8        </applicationInstallUrl>
9    <devicePlatform>ios</devicePlatform>
10    <deviceType>phone</deviceType>
11    <privateApp>false</privateApp>
12    <version>0.0.0.0</version>
13  </mobileAppConfig>
14< . mobileStartUrl>https://www.salesforce.com</mobileStartUrl>
15</ConnectedApp>

Wildcard Support in the Manifest File

This metadata type doesn’t support the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.