Clean Device command

When a "deep clean" is selected, it removes all installed applications, all user data, and all installed files from the device. If the Clean Chrome parameter is selected, it resets the Chrome history on the device. On iOS devices, this command only removes user-installed applications.

Parameters

Name Type Possible values Description

Device ID*

Device

 

The device for this command.

Mode

String

Basic | Deep

Specifies whether to perform basic or deep cleaning.

Basic cleaning removes installed applications.

Deep cleaning does the following:

  • Uninstalls the application

  • Resets the history in Google Chrome

  • Cleans user data: Google Chrome tabs and bookmarks, calendar, messages, MMS

Clean Chrome

String

 

Specifies whether to clean Google Chrome content.

Comment

String

 

Adds a comment to the script

On-fail Result*

Condition

Ignore | Break | Continue | Abort | Catch

The behavior when the cleanup procedure fails.

* Mandatory parameter

Deploy device maintenance scripts (Perfecto IDE alternative)