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

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

            • Assignee:
              agrieve Andrew Grieve
              Reporter:
              agrieve Andrew Grieve

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment