Hi all,
This one is very strange problem indeed. We have xamarin forms app, which worked perfectly about 2 years. Our database is on server (godaddy.com) and app connects it trough php scripts. Everything worked fine as I said until couple weeks ago - suddenly Android apps stopped working. I mean all instances: from google play, already installed ones, even one I have on developer phone. I found out it happens when app tries to connect our site... it simply enters into some endless loop. It seems app is not able to receive any information from godaddy server anymore. What is strange iOS version still works fine. I've checked everything and it is not database, nor scripts on site - everything is ok (as I mentioned iOS version still works). Codewise, I use rather simple approach. For example to check username\password I use function:
async Task DBSignIn(string email, string password)
{
string uri = urilogin + "?email=" + email + "&password=" + password;
HttpClient client = new HttpClient();
Task str = client.GetStringAsync(uri);
return str.Result;
}
Then I call above function this way:
Task dbstr = DBSignIn(email, password);
string str = dbstr.Result;
When I launch debugger at this point program simply steps into infinite loop as it seems unable to connect site. What is interesting, when I use any other address, such as goocle.com, yahoo etc. app works fine - I mean, It reads webpage content without any problem.
Anybody have similar problem?