You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by ngopal <gi...@git.apache.org> on 2015/10/07 22:36:08 UTC

[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

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 <ni...@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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by ngopal <gi...@git.apache.org>.
Github user ngopal closed the pull request at:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by shazron <gi...@git.apache.org>.
Github user shazron commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103#issuecomment-150545749
  
    The next version of the CLI will automatically convert `access` and `allow-navigation` tags to the correct ATS directives. If you are using cordova-ios-3.x you would only need the upcoming (unreleased) version of the CLI to have this feature. 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by daserge <gi...@git.apache.org>.
Github user daserge commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103#issuecomment-148506079
  
    @shazron, friendly ping...


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by shazron <gi...@git.apache.org>.
Github user shazron commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103#issuecomment-151282089
  
    With the next CLI release when it comes out, this PR will not be relevant.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by daserge <gi...@git.apache.org>.
Github user daserge commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103#issuecomment-161909928
  
    @ngopal, please close the PR - the CLI has already been released (twice).
    Thanks!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by daserge <gi...@git.apache.org>.
Github user daserge commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103#issuecomment-151060275
  
    Thanks, @shazron.
    So do we still need this PR or can it be closed?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by ngopal <gi...@git.apache.org>.
Github user ngopal commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103#issuecomment-146762661
  
    Thanks for your feedback. I've updated the line with the suggested changes. 
    
    Interesting note: I see on this github page (https://github.com/apache/cordova-plugin-whitelist/blob/master/plugin.xml) that there is a code comment that states that the whitelist is built into iOS9.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by daserge <gi...@git.apache.org>.
Github user daserge commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103#issuecomment-146959573
  
    @shazron, could you please take a look at this PR from the point of view of [the latest ATS updates](https://github.com/apache/cordova-lib/commit/0c3614e2fff6f3579a9220611ad439abde9abde1)?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] cordova-plugin-file-transfer pull request: Added note about iOS9 a...

Posted by jcesarmobile <gi...@git.apache.org>.
Github user jcesarmobile commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/103#issuecomment-146336013
  
    "If you are using iOS9 or have upgraded to Xcode7" should be "If you are using iOS9 and have upgraded to Xcode7", there is no problem with iOS 9 and Xcode 6 or iOS 8 and Xcode 7, just with iOS 9 and Xcode 7.
    
    Anyway, this will be "fixed" once the ATS is handled by the whitelist plugin


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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