GitHub user ngopal opened a pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/103
Added note about iOS9 and Xcode (7 and higher) quirks. I spent many hours identifying this issue and propose modifying the README file with a helpful pointer (to save the time of others). The problem and solution were not obvious and is not anywhere on StackOverflow. In a number of scenarios, the filetransfer error callback was not triggered and my app failed silently -- in scenarios where the error was not silent, the returned error code was 3 (connection error). This is because Xcode7 (and higher) and iOS9 enforce an App Transport Security protocol that requires the file transfer connection to be secure (connect via https). This constraint can be bypassed (for development purposes) by using the following plugin: cordova-plugin-transport-security (https://www.npmjs.com/package/cordova-plugin-transport-security). You can merge this pull request into a Git repository by running: $ git pull https://github.com/ngopal/cordova-plugin-file-transfer ios9-warning Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-file-transfer/pull/103.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #103 ---- commit d258bbca8dae1aecc9a1ac5043e82bd4ddac8674 Author: Nikhil Gopal <nikhilgo...@gmail.com> Date: 2015-10-07T17:24:37Z Added note about iOS9 and Xcode > 7 quirks. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org