feat: Enable copying native resource files from Capacitor plugins to …
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.
@cho45 @abraham @mlynch @gabeschine .Please review and tell me if some changes are to be made :)