Help Center/ Cloud Phone Host/ User Guide/ Using AOSP/ App Installation Whitelist
Updated on 2023-10-11 GMT+08:00

App Installation Whitelist

Function

The App installation whitelist can be configured. If no whitelist is configured, any APK can be installed.

How to Use

Push the configuration file to the /data/local/config/InstallWhitelist path. If you want to set a whitelist for all applications of a series, you can use the substring shared by the package names of this series of applications in the configuration file. For example, company A launches two applications and their package names are com.aaa.bbb and com.aaa.ccc. If you want to set a whitelist for the packages of the two applications at the same time, you can configure com.aaa in the whitelist.

Constraints

  • The configuration format must be as follows: ${partial_package_name}

Examples:

com.aaa

com.company1.package

com.company2.package

  • The configuration file uses the Unix line feed (\n).
  • Set the /data/local/config folder permissions to 755.
  • Set the file permissions to 644.
  • The setting takes effect immediately.