cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Karpan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8137) Passing options to .download causes crash on iOS
Date Tue, 09 Dec 2014 10:36:12 GMT

    [ https://issues.apache.org/jira/browse/CB-8137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239245#comment-14239245
] 

Ivan Karpan commented on CB-8137:
---------------------------------

Here is the related issue: CB-8138

> Passing options to .download causes crash on iOS
> ------------------------------------------------
>
>                 Key: CB-8137
>                 URL: https://issues.apache.org/jira/browse/CB-8137
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>         Environment: xcode 6
> iOS 8.1.1
> org.apache.cordova.file 1.3.1 "File"
> org.apache.cordova.file-transfer 0.4.7 "File Transfer"
> Cordova CLI 4.1.2
>            Reporter: David Banham
>
> The minimal repro is:
> var options = new FileUploadOptions();
> new window.parent.FileTransfer().download(uri, 'cdvfile://localhost/cache/'+destPath,
fetchSuccess, fetchFailure, options);
> The output from xcode is:
> 2014-12-09 11:45:29.274 iCSL[276:33032] -[__NSDictionaryM boolValue]: unrecognized selector
sent to instance 0x17694c20
> 2014-12-09 11:45:29.275 iCSL[276:33032] *** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '-[__NSDictionaryM boolValue]: unrecognized selector
sent to instance 0x17694c20'
> *** First throw call stack:
> (0x24a9f49f 0x32693c8b 0x24aa48b9 0x24aa27d7 0x249d4058 0xaa493 0x88975 0x881ff 0x257a4f99
0x24a65c87 0x24a65803 0x24a63a53 0x249b13c1 0x249b11d3 0x2bd950a9 0x27fc0fa1 0x8e31b 0x32c13aaf)
> libc++abi.dylib: terminating with uncaught exception of type NSException



--
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


Mime
View raw message