About Policies
Policies are business logic rules that you can apply to individual iOS and Android apps in your Digital.ai App Management organization. They provide added layers of security, management, and measurement capabilities to support corporate requirements and enhance your users' mobile experience. For example, the Jailbreak Protection policy protects enterprise data by blocking users from running apps on jailbroken devices and the App Usage policy tracks who uses an app and when.
Policies are applied post-development, in the Admin Portal, without requiring any code changes or SDKs. When applying policies to an app, your choices are flexible; you can apply one or multiple policies at a time.
Digital.ai App Management also offers a [Policies API]../(policies-api-guide.md) that allows you to manage and apply policies programmatically, without using the Admin Portal.
See Available Policies for a list of all policies.
How Policies Work
When you first apply policies to an app, Digital.ai App Management modifies the app to apply a "policy layer" that defines the app's policies. Though we modify the app to apply the policy layer, there is no new version of the app (i.e. no new binary or incremented version number). Because the policy layer is applied around the app, it does not alter the functionality or performance of the app, nor does it compromise the user experience in any way.
After the policy layer is applied to an app, you need to re-sign it; this is required for any new version of an app. Once the app is re-signed, it is then ready to deploy to your users—unless there are other functions you want to perform first, such as inspecting the application to screen for risky behavior and vulnerabilities.
Policy Status
On the Applications page in the Admin Portal, colored tags indicate the status of policies for the app.
Policy Evaluation
Digital.ai App Management checks for most applied app policies whenever the user opens the app, brings it to the foreground, or returns to it from a locked screen. (With some policies, Digital.ai App Management does not count multiple launches within a minute. These exceptions are described in the policy descriptions under Available Policies.) During that evaluation, action is taken as necessary. For example, if an app uses the Self Updating App policy, Digital.ai App Management checks if there is a new version of the app available and prompts the user to install it if there is.
User Experience
When evaluating policies, Digital.ai App Management blurs the app screen and displays a spinner. To the user, this looks like part of the process of starting the app, and it is typically quite fast—sometimes the user will not even notice the spinner. Depending on the types of policies you have applied, you may wish to evaluate policies less frequently to improve your users' experience with the app. For instructions, see Manage Policy Settings.
VPN Access
When evaluating some policies, Digital.ai App Management attempts to communicate with the server to fetch the latest settings. If you have an app with policies applied that connects to the network through a VPN, you should ensure that your VPN gateway can access the Digital.ai App Management server. To obtain the IP address(es) you need to whitelist for your gateway, contact Customer Support.