Skip to content

Conversation

@White-D-coder
Copy link

@White-D-coder White-D-coder commented Dec 4, 2025

closes #8273
Description

This PR adds support for the <resource-file> tag in plugin.xml for Capacitor Core plugins, bringing parity with Cordova plugin handling.

Changes

Updated resolvePlugin to parseplugin.xmlfor Capacitor Core plugins.

Updated updateAndroid to copy resource files defined under <resource-file> into the Android project during cap sync/update.

Verification

Added integration test: test/update.android.resources.spec.ts

Confirmed that resource files are correctly copied into android/capacitor-cordova-android-plugins/src/main/res/xml/.

Related

Fixes missing resource merging for Android Auto–related plugins.

@White-D-coder
Copy link
Author

@cho45 @abraham @mlynch @gabeschine .Please review and tell me if some changes are to be made :)

riderx pushed a commit to Cap-go/capacitor-plus that referenced this pull request Dec 5, 2025
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.

[Bug]: xml resources not merged into AndroidManifest

1 participant