apache / cordova-plugin-file-transfer

Apache Cordova File Transfer Plugin
https://cordova.apache.org/
Apache License 2.0
597 stars 886 forks source link

Fix exception thrown by call to remapApi on main thread #124

Closed anemitoff closed 8 years ago

anemitoff commented 8 years ago

For android

When reamapApi was being called for device file it was performing IO on the WebCore thread and throwing an IllegalState exception. This seems to have only been a problem when local URL corresponded to a video file.

Moved calls to remapApi for device URLs within new thread context so that IO is performed on background thread.

cordova-qa commented 8 years ago

Cordova CI Build has one or more failures.

Commit - Link Dashboard - Link

Builder Name Console Output Test Report Device Logs
Windows 8.1 Store Link Link Link
Windows 8.1 Phone Link Link Link
iOS Link Link Link
Android Mac Link Link Link
vladimir-kotikov commented 8 years ago

Let there be tests

cordova-qa commented 8 years ago

Cordova CI Build has one or more failures.

Commit - Link Dashboard - Link

Builder Name Console Output Test Report Device Logs
Windows 8.1 Store Link Link Link
Windows 8.1 Phone Link Link Link
iOS Link Link Link
Android Mac Link Link Link