We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b5e9e8 + 305a180 commit e9de8b3Copy full SHA for e9de8b3
lib/supports.ts
@@ -5,7 +5,10 @@ const webRTCAdapter: typeof webRTCAdapter_import =
5
webRTCAdapter_import.default || webRTCAdapter_import;
6
7
export const Supports = new (class {
8
- readonly isIOS = ["iPad", "iPhone", "iPod"].includes(navigator.platform);
+ readonly isIOS =
9
+ typeof navigator !== "undefined"
10
+ ? ["iPad", "iPhone", "iPod"].includes(navigator.platform)
11
+ : false;
12
readonly supportedBrowsers = ["firefox", "chrome", "safari"];
13
14
readonly minFirefoxVersion = 59;
0 commit comments