New Feature #14493
openAbility to suspend/resume apps and force uninstall based on app properties
0%
Description
Ability to give a list of packages that can be suspended or resumed.
Ability to force uninstall the app that was installed from playstore but not in the allow list
Ability to define categories of apps that must be force-uninstalled. Example: social apps, games, navigation apps, etc.
Here are the supported categories.
UNINSTALL_CATEGORY_GAME
UNINSTALL_CATEGORY_AUDIO
UNINSTALL_CATEGORY_VIDEO
UNINSTALL_CATEGORY_IMAGE
UNINSTALL_CATEGORY_SOCIAL
UNINSTALL_CATEGORY_NEWS
UNINSTALL_CATEGORY_MAPS
UNINSTALL_CATEGORY_PRODUCTIVITY
UNINSTALL_CATEGORY_ACCESSIBILITY
example policy payload:
{
"policyName": "tes",
"description": "",
"active": true,
"compliance": "enforce",
"ownershipType": null,
"policyType": "GENERAL",
"profile": {
"profileName": "tes",
"deviceType": "android",
"profileFeaturesList": [
{
"featureCode": "APP-RESTRICTION",
"deviceType": "android",
"content": {
"restriction-type": "white-list",
"whiteList": "",
"restricted-applications": [
{
"appName": "My%20Files",
"packageName": "com.google.android.youtube"
},
{
"appName": "asdasd",
"packageName": "com.google.android.apps.maps"
}
],
"deviceAppList": "com.google.android.youtube, com.google.android.gm",
"forceAppUninstall": true,
"forceAppUninstallFromPlaystore": true,
"forceAppUninstallOfCategory": ["UNINSTALL_CATEGORY_GAME", "UNINSTALL_CATEGORY_IMAGE", "UNINSTALL_CATEGORY_MAPS"],
"suspendedApps": ["com.google.android.apps.docs", "com.google.android.apps.maps"],
"resumeApps": ["com.google.android.deskclock","com.google.android.youtube", "com.google.android.apps.photos"]
},
"correctiveActions": []
}
]
},
"deviceGroups": [
{
"id": 437,
"name": "inosh"
}
],
"roles": [
"ANY"
],
"users": []
}
Updated by Inosh Perara 9 days ago
With this the restriction profile's force app install must be removed from that policy