Open chetan-prime opened 2 years ago
I have updated the log above. As we can see, it looks the ObjC code is attempting to access a null pointer and crashing
any news to this issue? I experience it also on iphone 13
@RFM69CW I don't remember exactly what I did, but I think I had to recompile the base websocket library from source and patch some of the code. Also, compilation target was bumped to 12.x This was a long time back, here is the patch file against PocketSocket commit 63e016dbcbb404562c7b90660fa73173bb93ad84 pocketsocket-fix.zip
Ah thank you for the quick response. It looks like I can not rely on this plugin ;-) I am looking for a different solution.
I have an ios app running the websocket plugin. While in normal usage I never see a problem, there is a particular case which causes this crash -
I even downloaded Pocketsocket from your repo and rebuild for ios12 but to no avail. The crash occurs only when I create a webview for the external / secondary screen. I suspect somehow in iPad this causes a crash when the webview connects to websockt server running on localhost, android works fine. Even my iPhone6 works fine. Somehow the crash is triggered only on iPad, and only with the webview websocket, it works fine through app webui on browser, which uses the same code, but connects on LAN IP instead of localhost. I could send the full crashdump file if required.