AppiumTransport.unregisterVault method
AppiumTransport › unregisterVault
Unregisters a vault on mobile by removing it from localStorage.Preserves other vault registrations. If the unregistered vault was selected, switches to the first remaining vault (or clears the selection).
The vault's **files are then removed from the device over
adb, whether or not the localStorage step succeeded** — deliberately, because the localStorage step goes through the WebView and a dead WebView is exactly what most Android failures are. Routing the removal through the app was what made every failed run leak its vault (Vault cleanup error (non-fatal): no such window), so the filesystem-level removal must not depend on it.Signature:
unregisterVault(vaultPath: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| vaultPath | string | The absolute path to the vault on the host machine. |