Skip to content

Commit 3bccfe2

Browse files
committed
docs: clarify web environment handling in getEnvironmentInfo function
1 parent 6a23337 commit 3bccfe2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export function getEnvironmentInfo(): EnvironmentInfo {
4040
return ["iPadOS", Platform.Version];
4141
}
4242
return ["iOS", Platform.Version];
43+
// Web needs to be empty as the server computes these values using the user agent
4344
default:
4445
return ["", ""];
4546
}

0 commit comments

Comments
 (0)