You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/04/07 21:50:41 UTC
[jira] [Commented] (CB-12623) Android: device plugin should access
Context through webView.getContext()
[ https://issues.apache.org/jira/browse/CB-12623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961488#comment-15961488 ]
Joe Bowser commented on CB-12623:
---------------------------------
[~dreifachstein] Do you have an example of this use case? If the WebView is created in a service, where is it rendering?
> Android: device plugin should access Context through webView.getContext()
> -------------------------------------------------------------------------
>
> Key: CB-12623
> URL: https://issues.apache.org/jira/browse/CB-12623
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Device
> Reporter: Xiaolei Yu
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org