You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user doesn't have the Drupal site running, or the network is down, or the URL is wrong, the app should pop up an AlertView saying that there was a failure to connect to the server
The text was updated successfully, but these errors were encountered:
For this particular problem there are many possible cases some of them are covered by me and on some of them I am working. Like bas URL ( than httpStatusCode == 404 not found) that is handled and no connection to the server (than httpStatusCode == 0) that is also handled.
But what if connection requires proxy authentication or your service provider requires user to be authenticated ( for example my service provider displays login page and set "Connection" header value to "Close" until I provide valid username password combination ) or any other error which may have httpStatusCode 200 but we don't get JSON object -----> to handle this situation I have added one IF that check weather retrieved JSON object is nil or not other wise show UIAlertView
If the user doesn't have the Drupal site running, or the network is down, or the URL is wrong, the app should pop up an AlertView saying that there was a failure to connect to the server
The text was updated successfully, but these errors were encountered: