ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
11.31k stars 962 forks source link

fix(cli): also generate packageClassList on copy #7358

Closed jcesarmobile closed 2 months ago

jcesarmobile commented 2 months ago

npx cap update generates the packageClassList, but npx cap copy does not, which cause the plugins to not work after running npx cap copy since they don't get registered.

This PR also runs the generateIOSPackageJSON function on copy so the packageClassList is always present.