MobileApplicationDetail

Represents the packaging attributes for a mobile connected app.

Parent Type 

This type extends Metadata and inherits its fields.

File Suffix and Directory Location 

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

Version 

Introduced in API version 47.0.

Fields 

applicationBinaryFile 

  • Type: base64Binary
  • Required: No
  • Description: Base 64-encoded binary data file for the mobile app.

applicationBinaryFileName 

  • Type: string
  • Required: No
  • Description: Filename for the mobile app binary data file.

applicationBundleIdentifier 

  • Type: string
  • Required: No
  • Description: iOS apps only: the unique application bundle identifier.

applicationFileLength 

  • Type: int
  • Required: No
  • Description: The length of the mobile app binary data file.

applicationIconFile 

  • Type: string
  • Required: No
  • Description: iOS apps only: the application icon.

applicationIconFileName 

  • Type: string
  • Required: No
  • Description: iOS apps only: the application icon filename.

applicationInstallUrl 

  • Type: string
  • Required: No
  • Description: URL to install the mobile app.

devicePlatform 

  • Type: DevicePlatformType (enumeration of type string)
  • Required: Yes
  • Description: Required. Platform that supports the mobile app.
  • Possible values:
    • android
    • ios

deviceType 

  • Type: string (enumeration of type string)
  • Required: No
  • Description: Supported device type for mobile app.
  • Possible values:
    • minitablet
    • phone
    • tablet

minimumOsVersion 

  • Type: string
  • Required: No
  • Description: Minimum OS version required to install the mobile app.

privateApp 

  • Type: boolean
  • Required: No
  • Description: Specifies whether the mobile app is private (true) or not (false).

version 

  • Type: string
  • Required: Yes
  • Description: 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.