Application Authenticity Protection in Native iOS applications

improve this page | report issue
This is a continuation of the Application Authenticity Protection tutorial.

application-descriptor.xml

Adding the security test

Modify the application-descriptor.xml file of your application.
Add the securityTest attribute to the Android or iPhone/iPad environment element. For example:

<iphone bundleId="com.worklight.MyBankApp" applicationId="MyBankApp" securityTest="customTests" version="1.0">


Specifying the bundleId and applicationId

  1. Specify the bundleId of your application exactly as you defined it in the Apple Developer portal.
  2. missing_alt

    It can be added either in the Source view:

    <iphone bundleId="com.worklight.MyBankApp" version="1.0">

    Or in the Application Description Editor (design view):

    missing_alt

  3. Specify the applicationId. The Application Id value must match the value of the application id property, which is located in the worklight.plist file.
  4. It can be added either in the Source view:

    <iphone bundleId="com.worklight.MyBankApp" applicationId="MyBankApp" securityTest="customTests" version="1.0">

    Or in the Application Description Editor (design view):

    missing_alt

  5. In Xcode, verify that the following value exists in the Other Linker Flags field: -ObjC
Last modified on November 09, 2016