GitHub user dreifachstein opened a pull request: https://github.com/apache/cordova-plugin-device/pull/62
CB-12623: (android) access Context through webView.getContext() Android WebView can be created without an Activity. One use case is to create a WebView within a Service and attach/detach it to an Activity window on demand. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dreifachstein/cordova-plugin-device master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-device/pull/62.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #62 ---- commit 7d4abf7e78aa14b3a6bfe6011271895f99de873e Author: Xiaolei Yu <dreifachst...@gmail.com> Date: 2017-04-23T08:35:42Z CB-12623: (android) access Context through webView.getContext() Android WebView can be created without an Activity. One use case is to create a WebView within a Service and attach/detach it to an Activity window on demand. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org