Skip to content

chore(cli): Deprecate cordova.staticPlugins #7564

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

Merged
merged 3 commits into from
Jul 16, 2024
Merged

chore(cli): Deprecate cordova.staticPlugins #7564

merged 3 commits into from
Jul 16, 2024

Conversation

jcesarmobile
Copy link
Member

cordova.staticPlugins is used to put some plugins into a separate CocoaPods project that has static_framework = true.

This is used in some plugins that use framework tag for CocoaPods, which didn't allow to specify if they need to be static.
But using framework tag for CocoaPods dependencies is not supported on latest cordova-ios (version 7.x that was released a year ago).
So if Cordova doesn't support that, we shouldn't have this special case for plugins that are out of date.
If they are up to date, using podspec tag instead of framework tag, then they can specify if the plugin needs to be static or not and Capacitor already handles that.

Also note that we have a list of plugins that we knew that needed to be static so users didn't have to add them with this configuration and we haven't updated the list for 3 years, so probably nobody is needing it anymore.

@jcesarmobile jcesarmobile merged commit 4561515 into main Jul 16, 2024
6 checks passed
@jcesarmobile jcesarmobile deleted the RDMR-189 branch July 16, 2024 16:19
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

Successfully merging this pull request may close these issues.

3 participants