You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2015/02/26 09:55:05 UTC

[jira] [Updated] (CB-8535) File transfer plugin tests fail and hang on android

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

Alexander Sorokin updated CB-8535:
----------------------------------
    Description: 
File transfer plugin tests fail and then hang on android.
This happens because of recent changes in tests:
https://github.com/apache/cordova-plugin-file-transfer/commit/bb0ed704a8e1b09d61ba603d43bb2319919ac07f#diff-2a8a5fef3397df87ab538f028a5c6b50R32

window.requestFileSystem now is being called with the default size of 1024*50, instead of 0. On all other platforms it works just fine but on android for some reason it causes crash.

After investigation it turned out that It is not an issue with tests - it occurs only on Android emulator with SD card set to 0b and could be fixed by increasing SD card size.

Medic documentation should have a note about it.

  was:
File transfer plugin tests fail and then hang on android.
This happens because of recent changes in tests:
https://github.com/apache/cordova-plugin-file-transfer/commit/bb0ed704a8e1b09d61ba603d43bb2319919ac07f#diff-2a8a5fef3397df87ab538f028a5c6b50R32

window.requestFileSystem now is being called with the default size of 1024*50, instead of 0. On all other platforms it works just fine but on android for some reason it causes crash.


> File transfer plugin tests fail and hang on android
> ---------------------------------------------------
>
>                 Key: CB-8535
>                 URL: https://issues.apache.org/jira/browse/CB-8535
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File Transfer
>            Reporter: Alexander Sorokin
>
> File transfer plugin tests fail and then hang on android.
> This happens because of recent changes in tests:
> https://github.com/apache/cordova-plugin-file-transfer/commit/bb0ed704a8e1b09d61ba603d43bb2319919ac07f#diff-2a8a5fef3397df87ab538f028a5c6b50R32
> window.requestFileSystem now is being called with the default size of 1024*50, instead of 0. On all other platforms it works just fine but on android for some reason it causes crash.
> After investigation it turned out that It is not an issue with tests - it occurs only on Android emulator with SD card set to 0b and could be fixed by increasing SD card size.
> Medic documentation should have a note about it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org