I am having an issue making http GET requests when I deploy to my ios device. I have enabled CORS on my endpoint in API Gateway, and my GET requests are successful on android devices. The requests are also successful when emulating iOS or android with the implementation of a proxy (link I followed for the proxy is below).
I have attempted updating the info.plist file to allow for NSAllowsArbitraryLoads with no success. I also attempted to rollback from WKWebView to UIWebView. This change resolves the API issue, but the app perfomance is compromised significantly and critical functionality is lost (specifically interacting with buttons and swiping the cards that are loaded after a successful call).
Is there a working solution for iOS devices that allows for the use of the WKWebView plugin without compromising the API calls?