[
https://issues.apache.org/jira/browse/CB-11063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423316#comment-15423316
]
Michael Schmidt commented on CB-11063:
--------------------------------------
Can't reproduce it currently (any more?)
Reviewing our code I figure that a file move could have as well been the cause:
{code}
fileEntry.moveTo(newFileEntry, newFileName, function (result)
{code}
This fits with this issue: "THREAD WARNING: 'File' took '4534.373047' ms.
Plugin should use a background thread."
https://issues.apache.org/jira/browse/CB-11693
https://github.com/apache/cordova-plugin-file/pull/190/commits/9b9c340b1036e1510cbc4a93f7bdfeaef43d3134
> iOS: File reading doesn't use background thread
> -----------------------------------------------
>
> Key: CB-11063
> URL: https://issues.apache.org/jira/browse/CB-11063
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugin File
> Affects Versions: 3.0.0
> Environment: iOS
> Reporter: Michael Schmidt
> Labels: iOS, triaged, wfc
>
> On file reading the following warning appears:
> THREAD WARNING: ['File'] took '23.292236' ms. Plugin should use a background
> thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]