cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12835) Add a Context getter in CordovaInterface
Date Wed, 07 Jun 2017 16:27:18 GMT

    [ https://issues.apache.org/jira/browse/CB-12835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16041155#comment-16041155
] 

Joe Bowser commented on CB-12835:
---------------------------------

[~dreifachstein] Ah, OK.  I'm not sure that your use case will work well on Android, since
the Garbage Collector is merciless.  That said, it's probably a good idea to add this to the
platform.  Do you have a PR for this?


> Add a Context getter in CordovaInterface
> ----------------------------------------
>
>                 Key: CB-12835
>                 URL: https://issues.apache.org/jira/browse/CB-12835
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: 3.5.0
>            Reporter: Xiaolei Yu
>
> We use a WebView instance within an android Service and attach it to an activity view
hierarchy when user interaction is required.
> Assuming cordova wants to support such use case a Context getter is needed in CordovaInterface
for plugins that are accessing Context through getActivity() (such as the device plugin)
>  
> I originally created CB-12623 for the device plugin. After receiving comments I think
it should be addressed here first.



--
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


Mime
View raw message