matrix-react-sdk
Version:
SDK for matrix.org using React
11 lines (10 loc) • 467 B
TypeScript
export declare const LOCAL_STORAGE_KEY = "mx_accepts_unsupported_browser";
/**
* Function to check if the current browser is considered supported by our support policy.
* Based on user agent parsing so may be inaccurate if the user has fingerprint prevention turned up to 11.
*/
export declare function getBrowserSupport(): boolean;
/**
* Shows a user warning toast if the user's browser is not supported.
*/
export declare function checkBrowserSupport(): void;