Merge pull request #1422 from vinikjkkj/fix-pairing

fix pairing code not working
This commit is contained in:
Cassio Santos
2025-05-15 13:32:01 -03:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ export const Browsers: BrowsersMap = {
export const getPlatformId = (browser: string) => {
const platformType = proto.DeviceProps.PlatformType[browser.toUpperCase()]
return platformType ? platformType.toString().charCodeAt(0).toString() : '49' //chrome
return platformType ? platformType.toString() : '1' //chrome
}
export const BufferJSON = {