cancel
Showing results for 
Search instead for 
Did you mean: 

Hybrid Application Toolkit - CORS error is throwing only on iOS devices

former_member121926
Discoverer
0 Kudos
361

Hi Experts,

We have created a hybrid application using a sap mobile service. And the application used to work fine earlier but recently when we tried to build the application we are receiving a CORS error only on iOS devices. We followed the below blog as a reference. looking forward to your expert opinion.

https://blogs.sap.com/2020/03/16/hybrid-application-toolkit-apps-for-ios-switching-to-wkwebview/

Application screens are loaded properly on the device but the services are returning cors error. And the same application works fine in web IDE and not throwing any CORS error.

Thanks in advance.

Config.xml file: config.xml.txt

Jithin

View Entire Topic
LudoNoens
Product and Topic Expert
Product and Topic Expert
0 Kudos

Just to inform other readers, this issue was related to CORS and security settings in SAP Cloud Platform Mobile Services. The issue was resolved through a support ticket.

0 Kudos

Hello Ludo,

I am also facing similar kind of issue. Could you please help me with the solution for the same.

Here is my thread:

https://answers.sap.com/questions/13213731/attachment-not-uploading-from-ios-sap-hybridnative.html

Regards,

Happy Chhillar