[
https://issues.apache.org/jira/browse/CB-12623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16588694#comment-16588694
]
ASF GitHub Bot commented on CB-12623:
-------------------------------------
jcesarmobile commented on issue #62: CB-12623: (android) access Context through
webView.getContext()
URL:
https://github.com/apache/cordova-plugin-device/pull/62#issuecomment-414991528
Looks good to me, but you'll have to update engines in package.json and
plugin.xml to require cordova-android >= 7.0.0 as this is not available in
older versions
https://github.com/apache/cordova-android/commit/17906735dfe23e74cbe75394a0de3bf448233f25
And we on next plugin update should do a major bump because of the engines
update
----------------------------------------------------------------
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]