IBM Worklight v5.0.5 > Develop IBM Worklight applications > Development guidelines for using native API

Application Descriptor of Native API applications for iOS


The application descriptor, application-descriptor.xml, is a metadata file used to define various aspects of the application.

<?xml version="1.0" encoding="UTF-8"?>
<nativeIOSApp 
    id="ios"
    platformVersion="5.0.5"
    version="1.0"
    securityTest="security test name"
    bundleId="com.ios"
    xmlns="http://www.worklight.com/native-ios-descriptor">
    <displayName>application display name</displayName>
    <description>application description</description>
</nativeiOSApp>

The <nativeIOSApp> element is the root element of the descriptor.

id ID of the application. Must be identical to the application folder name. Must be an alphanumeric string that starts with a letter. Can contain underscore ("_") characters. Must not be a reserved word in JavaScript.
platformVersion Version of the IBM Worklight Platform on which the app was developed.
version Version of the application. String of the form x.y, where x and y are numbers. Visible to users who download the app from the app store.
securityTest Security configuration defined in authenticationConfig.xml. When a client attempts to access a protected resource, Worklight checks whether the client is already authenticated according to the security test. If the client is not yet authenticated, Worklight starts the process to obtain the client credentials and to verify them. Optional
bundleId Bundle ID of the application. Optional.
<displayName> Application name. Visible in the Worklight Console. Copied to the descriptor files of various web and desktop environments.
<description> Application description. Visible in the Worklight Console. Copied to the descriptor files of various web and desktop environments.
</nativeiOSApp>
</nativeIOSApp> This tag closes the content of the application descriptor file.


Parent Development guidelines for using native API





+

Search Tips   |   Advanced Search