ionic-team / ionic-team/cordova-plugin-ionic-webview
Plugins won't load on iOS with ionic urls
- Dominant language
- Objective-C
- Stars
- 493
- Forks
- 410
- PR merge metrics
- No merged PRs in 30d
Description
Hey all -
I'm trying to upgrade a year old cordova project I built and in the painful of version upgrades.
I was using cordova-plugin-ionic-webview (I don't remember why, I really wish I'd kept a devlog), but as I've been upgrading cordova and plugins, it seems to be breaking loading plugins on iOS, both in the simulator and on my device.
With cordova-plugin-ionic-webview, it tries to load plugins from urls that look like `ionic://localhost/plugins/cordova-plugin-camera/www/CameraPopoverOptions.js` and I get 500s
When I uninstall the plugin, they try to load from urls that look like `file:///Users/blackmad/Librarv/Developer/CoreSimulator/Devices/4D7BF916-97B8-4BB8-8F90-764196F6A704/data/Containers/Bu
ndle/Application/OEE526FB-3DA9-477E-87B6-A510F1D8BC53/Assemble2023.app/www/plugins/cordova-plugin-ns0m-file-transfer/ www/FileTransfer.is` and those seem to work fine
Some of my cordova config files
[config.xml](https://github.com/ionic-team/cordova-plugin-ionic-webview/files/12522859/config.txt)
[plugins.txt](https://github.com/ionic-team/cordova-plugin-ionic-webview/files/12522860/plugins.txt)
[package.json](https://github.com/ionic-team/cordova-plugin-ionic-webview/files/12522862/package.txt)
Does anyone know why this might be happening? I looked through the issues and couldn't find an obvious answer!
Contributor guide
Assessment
This issue has not been assessed yet.