-
Notifications
You must be signed in to change notification settings - Fork 32
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
Android locks up / does not get receive all initial data (release version) #33
Comments
Hi. Sorry but I don't think anyone will be able to help you like this. Please provide more information about what exactly you are doing, including:
|
Yes, its happening when compiled for a production build. We have flipper disabled and using the release flag. We are actually just started experiencing this issue with iOS after more testing, but believe the operating system is doing a better job of masking the issue. We were using previously another polyfill to handle this but had to switch librarihes as the other is unmaintained and had an underlying issue that caused a crash when coming from background. We did not have this issue there.
We will take a look and report back.
Yes, we receive a list of a couple hundred items that are only relevant for about 20 seconds at a time. It's sports betting data so the data updates very fast and we need to provide it to our clients in near realtime. The list is updated via json patch -- The best way for me to describe it is that the library seems to be hanging on the event and buffering the output. I created an endpoint that delivers SSE of just a timestamp and it seems to be hanging delivering a record or two in some cases. I think the issue is with |
More info on XMLHttpRequest Streaming: https://hpbn.co/xmlhttprequest/#streaming-data-with-xhr react-native-community/discussions-and-proposals#99 (comment) |
You can use react-native-oksse library for android and this library for ios. For me it works perfect. |
Hello!
My team is having issues with Android locking up when compiled with the release flag (production ready). In most cases, the app freezes and prevents user interaction after receiving the initial data. In other cases only a few list items are rendered (5 out of 30).
We are not having any issues on iOS, this library seems to work exceptionally well on that platform.
We are using this in conjunction with Wundergraph client to interact with our graph infrastructure.
https://github.com/wundergraph/wundergraph/blob/7c56ea68215f3a2d93952b891d80b4de699b901a/packages/sdk/src/client/client.ts#L463
The text was updated successfully, but these errors were encountered: