cordova-plugin-network-information
                                
                                 cordova-plugin-network-information copied to clipboard
                                
                                    cordova-plugin-network-information copied to clipboard
                            
                            
                            
                        Network checking for online/offline is not executed when app is in backgroud mode
Hey Pedro
Indeed, the plugin does not check online/offline while being in the background. As far as I know, on Android there is no checking while being in the background. For ios, and other platforms I cannot answer the question.
Kind regards Pieter
@PieterVanPoyer Thanks for feedback 👍
cc @diegozurita
I was testing in version 2.0.1 and if I can get the offline / online connection status in the background
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.