I am writing an application using Xamarin.iOS and I have faced an issue with network performance.
In the application, I have files uploading functionality where user selects a file and uploads it to server.
I don't know why, but in debug mode this functionality works faster with the same Server hosted in Amazon AWS. In release (AppStore) mode it works really slow.
I have the same Business Layer code used across Android and iOS application, but in Android this uploading functionality works 5x faster. For example, uploading of the 1mb file on Android takes 5 seconds, on iOS up to 30 seconds and some times fails by timeout.
I have searched the internet and seems I am the only one facing such issue.
This problem is seems to be related only to uploading files. Download works fast.
Please help me. How can I improve the upload functionality?