[
https://issues.apache.org/jira/browse/CB-12623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991165#comment-15991165
]
ASF GitHub Bot commented on CB-12623:
-------------------------------------
Github user infil00p commented on the issue:
https://github.com/apache/cordova-plugin-device/pull/62
@filmaj Not sure. I'm not sure what the reporter is trying to do here.
> 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: [email protected]
For additional commands, e-mail: [email protected]