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

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment