ionic-team / ionic-team/cordova-plugin-ionic-webview
Failed to load resource: Preflight response is not successful
- Dominant language
- Objective-C
- Stars
- 493
- Forks
- 410
- PR merge metrics
- No merged PRs in 30d
Description
XMLHttpRequest cannot load file:///var/containers/Bundle/Application/CCFD6532-EFE8-46B4-8583-92B73867EADA/My%20n%20Test.app/www/login-new-account.html. Preflight response is not successful
It works fine in the emulator in XCode but not on the iPhone device itself:
The file:///var/containers/Bundle/Application/CCFD6532-EFE8-46B4-8583-92B73867EADA prefix is added by Cordova itself, i read somewhere the removing the file:// helps but i have no idea where to do that. I don't use ionic by the way, i use Cordova with Framework7
Cordova version: 8.0.0
Cordova plugins:
code-push 2.0.4 "CodePushAcquisition"
cordova-plugin-code-push 1.11.7 "CodePush"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 2.0.1 "Device"
cordova-plugin-dialogs 2.0.1 "Notification"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-inappbrowser 2.0.2 "InAppBrowser"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.3.2 "SocialSharing"
cordova-plugin-zip 3.1.0 "cordova-plugin-zip"
es6-promise-plugin 4.2.2 "Promise"
pushwoosh-cordova-plugin 7.3 "Pushwoosh"
Contributor guide
Assessment
This issue has not been assessed yet.