@lhk wrote:
I think I’m facing a real blocker
I need to do some heavy calculations and they need to interface with custom native code.
Having the calculations on the UI thread will make the app unresponsive.
Having them in a web worker seems impossible, since native code can’t be accessed.Now, wild thinking: Ionic hosts the mobile app in a http server.
Would it be possible to spawn a second such server and communicate between them with HTTP?
I think the encapsulation rules for web workers prevent the native access. So maybe a second server goes around that?
Anything that gives me a second thread with access to native code would be awesome.
Posts: 1
Participants: 1