Building mobile apps based on a selected version of Pega Mobile Client
This tutorial describes how to choose the exact version of Pega Mobile Client™ with which the mobile app is built in Pega Platform™, in the Channels and interfaces tab. Setting the version can help you avoid compatibility issues with the devices that are used in your organization.
- Determine which version of Pega Mobile Client was used to build your current mobile app:
- Install your mobile app on the device.
- In your app, click > >
- In the HC version field, note the Pega Mobile Client version number.
- Lock the version of Pega Mobile Client to be used to build your new mobile app:
- In Dev Studio, use the search field to find the .pyHCBuildVersion Declare Expression rule.
- In the Specialize by class or ruleset. list, click
- In Add to ruleset, select the ruleset for your mobile app.
- Click .pyHCBuildVersion rule that is specific to your app. to open the
- Complete the condition in the declare expression by setting the value of HCBuildVersion to the Pega Mobile Client version that you noted in step 1c.
You can enter either the full version number (for example, 6.21.1.5), or just the prefix (for example, 6.21). Pega Platform always selects the most exact version number. If several sub-versions match the defined pattern, it selects the newest one.
- Click