Howto update capacitor from 4.x to 4.8

HI, how do I update capacitor from 4.x to 4.8?

After update the npm packages, how do I update the IOS and ANDROID files?

THX

Running npm update should do the trick as it will update any minor releases. This assumes you are using ^ in your package.json file, something like "@capacitor/app": "^4.0.0.

After that, you just need to run capacitor sync android and capacitor sync ios.

1 Like

Thank you @twestrick, it works!

1 Like