You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/05 11:18:31 UTC

[GitHub] [cordova-plugin-network-information] r9pereira opened a new issue #96: New option to keep event receiver when a new URL is loaded on webview

r9pereira opened a new issue #96: New option to keep event receiver when a new URL is loaded on webview
URL: https://github.com/apache/cordova-plugin-network-information/issues/96
 
 
   # Feature Request
   New option to keep event receiver when a new URL is loaded on webview
   
   ## Motivation Behind Feature
   If you load a different URL on Cordova Webview, the onPause() and onDestroy() methods of NetworkManager are called in PluginManager.init() and the event receiver is removed . The event listener is not recovered with onResume() as the plugin has not the 'onload' flag set to true (if you force it on config.xml the notifications still do not work).
   This behavior is problematic if your application loads several URLs during its life-cycle.
   
   ## Feature Description
   A new option to customize this behavior.
   
   
   
   ## Alternatives or Workarounds
   I found no workarounds without changing the plugi's source code.
   
   
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

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