Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive binary data over WebSocket (RN 0.60.5) #26488

Closed
RobinBobin opened this issue Sep 18, 2019 · 4 comments
Closed

Receive binary data over WebSocket (RN 0.60.5) #26488

RobinBobin opened this issue Sep 18, 2019 · 4 comments
Labels
Bug Platform: Linux Building on Linux. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@RobinBobin
Copy link

React Native version:

System:
OS: Linux 4.18 Ubuntu 18.10 (Cosmic Cuttlefish)
CPU: (4) x64 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
Memory: 536.00 MB / 5.72 GB
Shell: 4.4.19 - /bin/bash
Binaries:
Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
npm: 6.10.2 - ~/.nvm/versions/node/v10.15.0/bin/npm
SDKs:
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 23.0.1, 23.0.3, 25.0.0, 26.0.1, 27.0.3, 28.0.3, 29.0.2
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
npmGlobalPackages:
react-native-cli: 2.0.1

Steps To Reproduce

  1. Connect to a websocket server from an RN app.
  2. Send binary data from the server to the app.

Describe what you expected to happen:
WebSocket onmessage being called with an instance of ArrayBuffer containing the data from the server.

In fact an empty ArrayBuffer is received. When the app sends binary data to the server, the data is transmitted just fine.

@RobinBobin RobinBobin added the Bug label Sep 18, 2019
@react-native-bot react-native-bot added the Platform: Linux Building on Linux. label Sep 18, 2019
@bartolkaruza
Copy link

Hi there, thank you for reporting this! Could you help us out with a minimal reproducible demo app? It's time-consuming to try and reproduce your issue and I will probably not get it right for your specific case.

@RobinBobin
Copy link
Author

RobinBobin commented Sep 18, 2019 via email

@stale
Copy link

stale bot commented Dec 17, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 17, 2019
@stale
Copy link

stale bot commented Dec 24, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 24, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Dec 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: Linux Building on Linux. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

3 participants