microsoft / microsoft/react-native-windows
The specified socket. binaryType='arraybuffer 'is invalid, still returning Blob type data
Open
@JunielKatarn is already working on this.
Since Dec 4, 2023.
Area: Networking
bug
Workstream: Component Parity
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Problem Description
const socket = new WebSocket(url, [websocketSubProtocol]);
socket.binaryType = 'arraybuffer';
socket.addEventListener('message', ({ data }) => {
})
Steps To Reproduce
Use mqtt ws link
Expected Results
No response
CLI version
0.72.6
Environment
System:
OS: Windows 11 10.0.22621
CPU: "(16) x64 AMD Ryzen 7 7735HS with Radeon Graphics "
Memory: 6.89 GB / 15.23 GB
Binaries:
Node:
version: 18.17.1
path: ~\AppData\Local\Temp\yarn--1701586952610-0.3240875104797012\node.CMD
Yarn:
version: 1.22.19
path: ~\AppData\Local\Temp\yarn--1701586952610-0.3240875104797012\yarn.CMD
npm:
version: 9.6.7
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
Android NDK: 22.1.7171670
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
IDEs:
Android Studio: AI-223.8836.35.2231.11090377
Visual Studio:
- 17.8.34322.80 (Visual Studio Community 2022)
Languages:
Java:
version: 11.0.21
path: C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.7
wanted: ^0.72.6
react-native-windows:
installed: 0.72.20
wanted: 0.72.20
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Target Platform Version
10.0.19041
Target Device(s)
Desktop
Visual Studio Version
Visual Studio 2022
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.