Assistance Required for Accessing Non-Secure HTTP API in Ionic Build App

Dear Team,

I was previously able to access a non-secure HTTP API in my Ionic-built app. However, I am now encountering an error where the API requests are being rejected. Interestingly, this API works perfectly on Android and web platforms without any issues.

As part of my troubleshooting, I have already added the following lines to my Info.plist file:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

Could you kindly suggest any alternative solutions or additional settings required to access this HTTP API?

Your help would be greatly appreciated.

Thank you,
Mozib

Assistance Required for Accessing Non-Secure HTTP API in Ionic Build App
 
 
Q