Skip to content

feat!: make Cordova support optional#8328

Open
markemer wants to merge 55 commits intonextfrom
optional-cordova-cap8-rebase
Open

feat!: make Cordova support optional#8328
markemer wants to merge 55 commits intonextfrom
optional-cordova-cap8-rebase

Conversation

@markemer
Copy link
Member

@markemer markemer commented Feb 3, 2026

Test instructions

The best way to test this is with 4 apps. (iOS and Android)

  1. An app with just Capacitor Plugins that uses Cocoapods
  2. An app with Capacitor and at least 1 Cordova plugin that uses Cocoapods
  3. An app with just Capacitor Plugins that uses SPM
  4. An app with Capacitor and at least 1 Cordova plugin that uses SPM

In all cases running npx cap sync should work as expected, not including Cordova when there are no plugins, and including it when there are.

Some other things to try

  • Remove all Cordova plugins and re-sync
  • Add a Cordova plugin and re-sync
  • Any other weird case you can come up with

@theproducer theproducer self-assigned this Feb 23, 2026
@alexgerardojacinto alexgerardojacinto self-assigned this Feb 24, 2026
@alexgerardojacinto
Copy link

Tested with the 4 apps you mentioned and it seems to be working properly. Also tested removing all Cordova plugins and adding one again

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.

5 participants