cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4155) Cordova Android - navigator.app.clearCache(); is called on (prospectively unsupported) WebViewCoreThread
Date Thu, 11 Jul 2013 20:35:49 GMT

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

Simon MacDonald commented on CB-4155:
-------------------------------------

Ha, I thought this was an easy fix but where did org.apache.cordova.App end up in 3.0?

I pushed the changes for 2.9.x but we should probably review some of the other methods in
that class as well.
                
> Cordova Android - navigator.app.clearCache(); is called on (prospectively unsupported)
WebViewCoreThread 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CB-4155
>                 URL: https://issues.apache.org/jira/browse/CB-4155
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.7.0
>         Environment: Cordova 2.7.4 NPM installation.
>            Reporter: Andreas Sander
>            Assignee: Simon MacDonald
>              Labels: clearCache, cordova, cordovawebview, navigator
>             Fix For: 3.0.0
>
>
> When calling {{navigator.app.clearCache();}} in a Cordova project, the following throwed
warning is shown in Android Logcat:
> {quote}
> java.lang.Throwable: Warning: 
> A WebView method was called on thread 'WebViewCoreThread'. 
> All WebView methods must be called on the UI thread. Future versions of WebView may not
support use on other threads.
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message