-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
Issue Description
After upgrading from Cordova iOS 7.1.0 to 7.1.1, the plugin cordova-plugin-wkwebview-file-xhr
is no longer recognized at runtime. I get the following error in logs:
ERROR: Plugin 'CDVWKWebViewFileXhr' not found, or is not a CDVPlugin
This setup worked fine on Cordova iOS 7.1.0.
Steps to Reproduce
- Create a new Cordova project.
- Add platform:
cordova platform add ios@7.1.1 - Add plugins:
cordova-plugin-wkwebview-file-xhr- (default plugins like device, splashscreen, whitelist, etc.)
- Build and run on iOS.
- Open Xcode logs.
Expected Result
CDVWKWebViewFileXhrshould load and register as a CDVPlugin.- XHR/fetch to local files should be allowed via the plugin.
Actual Result
- Runtime error:
ERROR: Plugin 'CDVWKWebViewFileXhr' not found, or is not a CDVPlugin
- The plugin is listed in
cordova plugin list. - The plugin source exists under
platforms/ios/Plugins.
Environment
- Cordova CLI: 12.0.0
- Cordova iOS: 7.1.1 (works on 7.1.0)
- Xcode: 16.4
- Salesforce Mobile SDK: 13.0.2 (hybrid app)
Additional Notes
- Possibly related to changes in Cordova iOS 7.1.1 plugin registration.
- Same app + plugin combination worked fine with Cordova iOS 7.1.0.
- Cross-posted similar report on apache/cordova-ios.
Metadata
Metadata
Assignees
Labels
No labels