I am using Chrome Managed Configurations to set a whitelist with this code in my policy:
{
"packageName": "com.android.chrome",
"managedConfiguration": {
'URLBlacklist': ['*'],
'URLWhitelist': ['chrome://*', 'google.com', 'stackoverflow.com'],
'ForceGoogleSafeSearch': True,
'NTPContentSuggestionsEnabled': False,
}
}
Now, in the Chrome enterprise docs it says there is a way to apply the same settings to Android Web view with the com.android.browser:URLBlacklist
restriction, but it does not explain where I would put this in my policy.
The following code does not work:
{
"packageName": "com.android.chrome",
"managedConfiguration": {
'com.android.browser:URLBlacklist': ['reddit.com', 'youtube.com'],
'com.android.browser:URLWhitelist': ['stackoverflow.com', 'google.com']
}
}
It shows an error in chrome://policy on the phone.
com.android.browser
is not even a real app.
Where do I need to use this com.android.browser:URLBlacklist
to apply restrictions to all web views on the phone?