-
Notifications
You must be signed in to change notification settings - Fork 147
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
Crash in PhoenixTransport iOS 18 only #267
Comments
it happens when we background the app. on backgrounding we disconnect the socket connection. it disconnects but crashes. |
any idea @davidstump ? |
@udaypatial Is it consistently crashing when you background the app? Can you easily reproduce it? |
I couldn't reproduce it but crashes quiet consistently on production 10k users affected. |
the number has increased drastically after we upgraded to the latest version or maybe has something to do with iOS 18 |
These are kinda hard to track down. I have a couple of pending |
@udaypatial 5.3.4 is available, if you could give it a try and report back.
Another option is to rollback to the previous version you were using and see if crashes go away. This would narrow down if it was caused by a previous change or if it is specific to iOS 18. |
@dsrees thanks i'll try this new version and let you know how it goes. |
In this thread, seems Based on the thread, DTS engineer suggests use |
Hey @dsrees, since Uday recently left our company, I’ve taken over this work. Despite updating to version 5.3.4, we’re still experiencing a high crash rate. Would you recommend rolling back to an earlier version to see if it resolves the issue? If so, which version would you suggest we roll back to? |
I'm not able to see any feedback referenced in that link. If you could, could you please copy the relevant snippets? |
Sorry @dsrees, the link was wrong. Thread link: from thread:
|
Hm, fascinating. According to this documentation, it suggests against using URLSession for new websocket code. Since NWConnection has been available since iOS 12, I can see implementing a transport layer with it. @varun-score I don't know when I'll get to this. You can try implementing your own in your project and passing it as the Transport in your pocket constructor. You can use URLSessionTransport in the client as an example |
Hi we're seeing a number of crashes on crashlytics in PhoenixTransport. Any thoughts?
The text was updated successfully, but these errors were encountered: