v153 ยท sub apps

Remove by manifest id

This demo probes the real proposed window.subApps API. Outside an Isolated Web App, or when the permission policy is unavailable, it reports the unsupported branch instead of pretending the install happened.

Remove sub apps by manifest id

The proposed remove() method takes manifest ids, not install paths. This keeps the delete flow separate from install-path authoring.

Enter manifest ids and run the remove probe.

code path

const manifestIds = textarea.value.split("\n").map(id => id.trim()).filter(Boolean);
if ("subApps" in window && typeof window.subApps.remove === "function") {
  const response = await window.subApps.remove(manifestIds);
}

see also