Could you contact Ludei in order to provide some sample code that mimics this behaviour so they can give it a look?
UI freezes in iOS when I make an async call to a WebView using CocoonJS
-
14-10-2022 - |
Question
I developed a game using ImpactJS and I'm using CocoonJS to run it on Android and iOS. My game needs to execute some AI code, and it takes too long, so I use a WebView for executing the code in a background thread (using CocoonJS forwardAsync method). In Android is working fine, but in iOS the UI thread is blocked until AI code finishes... It's a CocoonJS issue on iOS?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow