[
https://issues.apache.org/jira/browse/CB-12623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576756#comment-16576756
]
ASF GitHub Bot commented on CB-12623:
-------------------------------------
janpio commented on issue #62: CB-12623: (android) access Context through
webView.getContext()
URL:
https://github.com/apache/cordova-plugin-device/pull/62#issuecomment-412180179
@dreifachstein, could you elaborate please?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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: cordova-android, cordova-plugin-device
> Reporter: Xiaolei Yu
> Priority: Minor
> Labels: android-next
> Fix For: cordova-android-7.0.0
>
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]