You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/05/14 19:39:00 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=17846409#comment-17846409 ]
ASF subversion and git services commented on CB-12623:
------------------------------------------------------
Commit 59163987b6de4bad902e8da5f27b9f9d0023fec0 in cordova-plugin-device's branch refs/heads/pick from Xiaolei Yu
[ https://gitbox.apache.org/repos/asf?p=cordova-plugin-device.git;h=5916398 ]
CB-12623: (android) use the new context getter to access Context
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org