Browser.getPWAState() method
Returns the OS-integration state of an installed Progressive Web App (PWA), such as its badge count and registered file handlers.
Signature
class Browser {
abstract getPWAState(options: GetPWAStateOptions): Promise<PWAState>;
}
Parameters
Parameter | Type | Description |
|---|---|---|
options |
Returns:
Promise<PWAState>
Remarks
Only available over a pipe connection. See Browser.installPWA(). Meaningful only for an app that is currently installed; querying an unknown manifest id rejects.