Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7976

Android: registerReciever() calls should attache to webView's context rather than activity's context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      I'm experimenting with creating a webview that is transferred from one activity to another. Problem is that many plugins attach themselves to the lifespan of `cordova.getActivity()` rather than `webView.getContext()`.

      In general, these are the same, but not in this case.

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            agrieve Andrew Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: