Network Error in iOS application
-
Hi,
I have one Quasar application that was working already for some time on web/android/ios, but after the last update of code from this week, it just stops working only on iOS. The backend part, at least one that handles CORS is not changed in this update. After some debugging and trying to get some useful information that I can act upon, I have just discovered that on each AJAX request it get “Network Error”. It only happens on iOS, Android, and Web applications work normally.
Does anyone have some idea what could be wrong and point me in the right direction to solve this? I have used Cordova for mobile applications and its configuration also didn’t change in this last update of code.
Thanks in advance.
-
Just update. The issue was that we were returning double CORS headers, one from Nginx and one from Laravel application, which was fine on android, but on ios didn’t work. Once when we removed one from the Laravel application and improved Nginx config to return headers even in the case of 4xx reposes it starts to work normal…
I hope this could help someone