Skip to content

feat!: make Cordova support optional#8328

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

feat!: make Cordova support optional#8328
markemer wants to merge 52 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

@markemer markemer changed the base branch from main to next February 11, 2026 20:11
@markemer markemer changed the title [WIP]: Make Cordova Support Optional feat!: make Cordova support optional Feb 11, 2026
@markemer markemer marked this pull request as ready for review February 11, 2026 20:11
@theproducer theproducer self-assigned this Feb 23, 2026
});
}

// TODO: How to we ensure this gets called? Should we punt and use reflection?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to remove this?

@@ -0,0 +1,6 @@
//#import <Capacitor/Capacitor-Swift.h>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to keep this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How'd these damn files sneak back in, they're in our current project and are useless as far as I know, we just moved them.

@@ -0,0 +1,5 @@
//#import "CAPBridgeViewController+CDVScreenOrientationDelegate.h"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to keep this?

@alexgerardojacinto alexgerardojacinto self-assigned this Feb 24, 2026
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