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

Plugins won't load on iOS with ionic urls #685

Open
blackmad opened this issue Sep 5, 2023 · 0 comments
Open

Plugins won't load on iOS with ionic urls #685

blackmad opened this issue Sep 5, 2023 · 0 comments

Comments

@blackmad
Copy link

blackmad commented Sep 5, 2023

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
Screenshot 2023-09-05 at 11 48 19 AM

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
Screenshot 2023-09-05 at 11 46 48 AM

Some of my cordova config files
config.xml
plugins.txt
package.json

Does anyone know why this might be happening? I looked through the issues and couldn't find an obvious answer!

@blackmad blackmad changed the title Plugins won't load on iOS Simulator Plugins won't load on iOS with ionic urls Sep 5, 2023
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

1 participant