android-components / mozilla.components.feature.pwa / WebAppShortcutManager / uninstallShortcuts

uninstallShortcuts

suspend fun uninstallShortcuts(context: <ERROR CLASS>, startUrls: List<String>, disabledMessage: String? = null): Unit (source)

Uninstalls a set of PWAs from the user’s device by disabling their shortcuts and removing the associated manifest data.

Parameters

startUrls - List of manifest startUrls to remove.

disabledMessage - Message to display when a disable shortcut is tapped.