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 3f976f9 + fe3dbc8 commit 2cdbd7fCopy full SHA for 2cdbd7f
src/Utils/generics.ts
@@ -28,7 +28,7 @@ export const Browsers: BrowsersMap = {
28
29
export const getPlatformId = (browser: string) => {
30
const platformType = proto.DeviceProps.PlatformType[browser.toUpperCase()]
31
- return platformType ? platformType.toString().charCodeAt(0).toString() : '49' //chrome
+ return platformType ? platformType.toString() : '1' //chrome
32
}
33
34
export const BufferJSON = {
0 commit comments