Network Usage Rules
com.apple.networkusagerules
The payload that configures network-usage rules.
Configuration Keys (2)
| Key | Type | Title |
|---|---|---|
ApplicationRulesAn array of application rules, that apply to only managed apps. | array | Application Network Usage Rules |
SIMRulesAn array of SIM rules, that apply to all apps. | array | Wi-Fi Assist Policy Rules |
ApplicationRulesItemThe application rules dictionary. | dict | Network Usage Rules |
AppIdentifierMatchesA list of managed app identifiers, as strings, that must follow the associated rules. If this key is missing, the rules apply to all managed apps on the device. Each string in the 'AppIdentifierMatches' array may either be an exact app identifier match (for example, 'com.mycompany.myapp') or it may specify a prefix match for the bundle ID by using the \* wildcard character. If used, this character must appear after a period (.) and may only appear once, at the end of the string; for example, 'com.mycompany.*'. | array | Bundle Identifier Matches |
AllowCellularDataIf 'false', disables cellular data for all matching managed apps. Default: true | boolean | Allow Cellular Data |
AllowRoamingCellularDataIf 'false', disables cellular data while roaming for all matching managed apps. Default: true | boolean | Allow Data Roaming |
AppIdentifierMatchesItemrequiredA managed app identifier. | string | Bundle Identifier |
SIMRulesItemThe policy for individual SIM cards. | dict | — |
ICCIDsrequiredOne or more ICCIDs of SIM cards for which the 'WiFiAssistPolicy' applies. All ICCIDs in all installed Network Usage Rules payloads must be unique. An example ICCID is '89310410106543789301'. | array | SIM ICCIDs |
WiFiAssistPolicyrequiredThe Wi-Fi Assist policy to apply to the SIM cards specified in the ICCIDs. Allowed values: - '2': Use the default system policy for the specified SIM card(s). - '3': Make Wi-Fi Assist switch more aggressively from a poor Wi-Fi connection to cellular data for the specified SIM card(s). This setting may increase cellular data use and may impact battery life. For more information, see [About Wi-Fi Assist](https://support.apple.com/en-us/HT205296). Range: Default (2), Allow frequent switching to cellular data (3) | integer | Policy |
ICCIDrequiredAn ICCID. | string | — |