Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

iOS doesn't check for response text when it pings the server #107

Open
timkim opened this issue Feb 3, 2016 · 0 comments
Open

iOS doesn't check for response text when it pings the server #107

timkim opened this issue Feb 3, 2016 · 0 comments
Labels

Comments

@timkim
Copy link
Contributor

timkim commented Feb 3, 2016

Just fixed a long standing issue in connect-phonegap where the server would spit out a 404 when an ios device tries to connect.

Essentially, it comes down to this function: https://github.com/phonegap/phonegap-plugin-contentsync/blob/master/src/ios/ContentSync.m#L142

Even if the server responds with a 404, the error reference remains nil since a 404 doesn't constitute as an error. So the server ping needs to also check for a correct response text.

imhotep pushed a commit that referenced this issue Feb 3, 2016
…ccess and redirects should still be fine
purplecabbage pushed a commit to purplecabbage/phonegap-plugin-contentsync that referenced this issue Feb 8, 2016
… 400. success and redirects should still be fine
@macdonst macdonst added the ios label Jun 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants