Skip to content

New option to keep event receiver when a new URL is loaded on webview #96

@r9pereira

Description

@r9pereira

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions