Search code examples
wcfhttpclientxamarin.formsportable-class-library

httpclient not working anywhere except in windows phone


I followed the [ToDoRest][1] example in github, it works there but it don't working my app I don't understand what I am missing. Things look same in both projects but still it's not working in mine please help me I am looking into this from last 3 days without any luck. Please help me.


Solution

  • I figured it out, I need to put .ConfigureAwait(false) at the end each call then it works in IOS and android