xamarin background upload in android

vasilytserejvasilytserej USMember ✭✭

I have an App which uploads pictures to a server.
A year ago if you wanted to upload a picture I created a task which encapsulated a httpclient postasync
the only issue is that when I put the app to background the upload tasks where cancelled.
I developed a version using background services. It took me some time but it worked.
Today I tested with the old version and now android do not cancel the upload httpclient post when going to background.
Did something changed in android that I am not aware.
Thanks in advance

Best Answer


  • vasilytserejvasilytserej USMember ✭✭
    Yes the previous app works now on latest os versions.
    When I started xamarin in 2.4 httprequests were cancelled when going to background.
  • vasilytserejvasilytserej USMember ✭✭
    I accepted your question as correct answer by mistake
Sign In or Register to comment.