You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/07 15:22:19 UTC

[GitHub] [cordova-plugin-network-information] breautek commented on issue #102: Network checking for online/offline is not executed when app is in backgroud mode

breautek commented on issue #102:
URL: https://github.com/apache/cordova-plugin-network-information/issues/102#issuecomment-640234979


   > For ios, and other platforms I cannot answer the question.
   
   iOS webviews don't execute javascript while the app is in the background, so processing background tasks within the webview is generally is difficult if not impossible. For example, the native code might send the event to javascript, but your app won't be able to respond to it until the app comes back into the foreground.
   
   Apple generally discourages apps running code in the background except for very specific scenarios.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org