

firebaseMessagingVersion variable has been updated to 23.0.5.deleteChannel now only accepts the channel id instead of the whole object.Added new type, RegistrationError, for registrationError event.buildActionSheet title and message is now optional.ShowActionsOptions.title is now optional.android圎xifInterfaceVersion variable has been updated to 1.3.3.androidxMaterialVersion variable has been updated to 1.6.1.The plugin will no longer alert that iOS usage descriptions are missing.The setting preserveAspectRatio has been removed.The plugin has been renamed to to better reflect it's usage. The following plugin functions have been modified or removed. If you are using other plugins or native dependencies, make sure they aren't hosted on Jcenter before removing it! Plugins With this, you may be able to remove jcenter() entirely from your adle file. However, we are now using the latest Cordova Android version, hosted on Maven Central. In previous Capacitor versions, jcenter() was required due to our Cordova compatibility layer being hosted on Jcenter. Optional: Remove jcenter() from your Gradle files To benefit from automatic theme change (Dark/Light themes) based on the user's device theme, change to in android/app/src/main/res/values/styles.xml.


Install the latest version of the Capacitor CLI to your project using npm i -D. In this guide, you'll find steps to update your project to the current Capacitor 4 version as well as a list of breaking changes for our official plugins. Compared to previous upgrades, the breaking changes between Capacitor 3 and 4 are fairly minimal.
