You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Simon MacDonald (JIRA)" <ji...@apache.org> on 2013/07/11 23:19:48 UTC

[jira] [Resolved] (CB-4155) Cordova Android - navigator.app.clearCache(); is called on (prospectively unsupported) WebViewCoreThread

     [ https://issues.apache.org/jira/browse/CB-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon MacDonald resolved CB-4155.
---------------------------------

    Resolution: Fixed
    
> 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