cordova-plugin-wkwebview-file-xhr icon indicating copy to clipboard operation
cordova-plugin-wkwebview-file-xhr copied to clipboard

XHR calls do not work in iOS Lockdown Mode

Open gjdownes opened this issue 2 years ago • 3 comments

When switching the device Lockdown Mode on XHR calls fail to load.

I've traced this to the following code: Screenshot 2023-06-05 150334

This issue is occurring on iOS 16.4.1a. Let me know if any additional information could be helpful.

gjdownes avatar Jun 05 '23 19:06 gjdownes

Facing Same issue, Did u find any solution ?

mohamedmaher2021 avatar Oct 26 '23 10:10 mohamedmaher2021

We ended up removing the library and leveraging the app/scheme approach mentioned here: https://cordova.apache.org/announcements/2020/06/01/cordova-ios-release-6.0.0.html

You will need to adjust your server to allow CORS requests from your chosen app/scheme origin.

We encountered issues running our app in iOS 12 and earlier but otherwise no issues. I don't think this plugin is required anymore.

gjdownes avatar Oct 27 '23 13:10 gjdownes

Thanks, Its working now after removing the plugin

mohamedmaher2021 avatar Nov 02 '23 05:11 mohamedmaher2021