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 2013/07/11 22:35:48 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13706196#comment-13706196 ]
ASF subversion and git services commented on CB-4155:
-----------------------------------------------------
Commit e03bd0a40d1b8bc764d2b37f1dad39627764ee27 in branch refs/heads/2.9.x from [~macdonst]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=e03bd0a ]
CB-4155: Cordova Android - navigator.app.clearCache(); is called on (prospectively unsupported) WebViewCoreThread
> 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