Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XHR calls do not work in iOS Lockdown Mode #91

Open
gjdownes opened this issue Jun 5, 2023 · 3 comments
Open

XHR calls do not work in iOS Lockdown Mode #91

gjdownes opened this issue Jun 5, 2023 · 3 comments

Comments

@gjdownes
Copy link

gjdownes commented Jun 5, 2023

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.

@mohamedmaher2021
Copy link

Facing Same issue, Did u find any solution ?

@gjdownes
Copy link
Author

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.

@mohamedmaher2021
Copy link

Thanks, Its working now after removing the plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants