-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Do to issues where iOS pulls ports when apps are placed into the background, it would be a desirable feature to be able to restart the jxcore process when it is running under cordova. We are having problems resuming network requests (outbound from jxcore) after the app resumes.
If jxcore-cordova could be stopped / started / restarted, it seems like apps using could catch the iOS events indicating that it is entering / leaving the background, and then shutdown jxcore. Alternatively or in addition, when the app is resumed, it could start / restart it.
Is seems like right now from the docs and code, jxcore starts up automatically, and calling loadmainfile(...)
is the only real way to start your app. Could loadmainfile(...)
be called again to restart the app?
We using Thali in our app, they have an issue to investigate this (thaliproject/Thali_CordovaPlugin#408), but our app also makes network requests outside of Thali.