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

Android: device plugin should access Context through webView.getContext()

    XMLWordPrintableJSON

Details

    Description

      The device plugin only requires a valid Context but currently depends on an active Activity, and does not work when the WebView is created in a service.
      CB-7976 is a similar issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dreifachstein Xiaolei Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: