For the complete documentation index, see llms.txt. This page is also available as Markdown.

Clear App Data on Logout

A Launcher security feature that automatically deletes application and session upon user logout to protect shared devices.

Overview

Use Clear App Data on Logout to automatically clear application data once a user logs out of a device. It deletes cookies, session tokens, cached files, and running apps outside the authentication module. It is commonly used to safeguard sensitive information such as login credentials and browsing history on shared or multi-user devices. By default, this feature is disabled; however, administrators can enable it and configure which application packages are cleared or retained during the logout process.

User Guide

To configure Clear App Data on Logout, complete the following steps:

  1. Enable the clearAppDataOnLogout setting to clear user data upon logout.

  2. Define applications in the clearAppDataIncludeList to clear their data even if they were not actively used during the session.

  3. Define applications in the clearAppDataExcludeList to exclude in the process and retain their user data upon logout.

Downloaded files are not automatically deleted during the default file removal process. For more information on how to explicitly remove downloaded files, refer to the Delete Files and Clear Cache sections of the Custom Intents Platform Actions page.

Configuration

Enabling Clear App Data on Logout

To enable the feature, set clearAppDataOnLogout to true within the Launcher configuration.

"settings": {
  
  "clearAppDataOnLogout": true
}

Setting Up Data Inclusion List

If clearAppDataOnLogout is set to true, this list specifies additional app packages that should be cleared even if they were not launched during the session. An example configuration is shown below:

Setting Up Data Exclusion List

If clearAppDataOnLogout is set to true, this list specifies app packages that should be excluded from the app data clearing process. These packages will retain their app data even when the user logs out. An example configuration is shown below:

If clearAppDataOnLogout is set to false, the clearAppDataIncludeList and clearAppDataExcludeList settings are ignored. No app data will be cleared on logout.

The Clear App Data on Logout configuration consists of the following parameters:

Field
Description
Default Value

clearAppDataOnLogout

Enables the clearing of app data on logout for all applications launched during user session

false

clearAppDataIncludeList

Specifies app packages that should be cleared even if they were not launched during user session

none

clearAppDataExcludeList

Specifies app packages that should be excluded from the app data clearing process

none

Putting It All Together

For the example described above, the full configuration for the Clear App Data on Logout feature is as follows:

Last updated