Skip to content

Updating to Capacitor 6.0

Capacitor 6.0 is finally here and brings a lot of improvements! Make sure to check out the official announcement post from the Ionic team. In this article, you can find out what breaking changes have been made to the Capawesome plugins.

Plugins

The following plugin functionality has been modified or removed. Update your code accordingly. More information can be found in the respective BREAKING.md file of each plugin.

Android Foreground Service

App Update

  • The currentVersion property has been replaced by the currentVersionCode and currentVersionName properties in the AppUpdateInfo interface.
  • The availableVersion property has been replaced by the availableVersionCode and availableVersionName properties in the AppUpdateInfo interface.

File Picker

  • The multiple property has been replaced by a new limit property in the PickFilesOptions and PickMediaOptions interfaces.
  • The File interface has been replaced by the PickedFile interface.
  • The default value of the skipTranscoding property has been changed to true.

Firebase Analytics

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Analytics component of the Firebase Android SDK has been updated to 20.5.1.

Firebase App

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • On Android, the firebaseCommonVersion variable has been updated to 20.4.2.

Firebase App Check

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • On Android, the firebaseAppCheckPlayIntegrityVersion variable has been updated to 17.1.2.
  • On Android, the firebaseAppCheckDebugVersion variable has been updated to 17.1.2.

Firebase Authentication

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • On Android, the firebaseAuthVersion variable has been updated to 22.3.1.
  • On Android, the playServicesAuthVersion variable has been updated to 21.0.0.
  • On Android, the facebookLoginVersion variable has been updated to 16.3.0.

Firebase Crashlytics

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • On Android, the firebaseCrashlyticsVersion variable has been updated to 18.6.2.

Firebase Cloud Firestore

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • The QueryDocumentSnapshot interface has been replaced with the DocumentSnapshot interface.
  • On Android, the firebaseFirestoreVersion variable has been updated to 24.10.3.

Firebase Cloud Messaging

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • On Android, the firebaseMessagingVersion variable has been updated to 23.4.1.

Firebase Cloud Storage

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • On Android, the firebaseStorageVersion variable has been updated to 20.3.0.

Firebase Performance Monitoring

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • On Android, the firebasePerfVersion variable has been updated to 20.5.2.

Firebase Remote Config

  • The Firebase Javascript SDK has been updated to 10.9.0.
  • The Firebase iOS SDK has been updated to 10.24.0.
  • On Android, the firebaseConfigVersion variable has been updated to 21.6.3.

ML Kit Barcode Scanning

  • On Android, the mlkitBarcodeScanningVersion variable has been updated to 17.2.0.
  • On Android, the playServicesCodeScannerVersion variable has been updated to 16.1.0.

ML Kit Face Detection

  • On Android, the mlkitFaceDetectionVersion variable has been updated to 16.1.6.

ML Kit Face Mesh Detection

  • On Android, the mlkitFaceMeshDetectionVersion variable has been updated to 16.0.0-beta2.

ML Kit Selfie Segmentation

  • On Android, the mlkitSelfieSegmentationVersion variable has been updated to 16.0.0-beta5.

ML Kit Translation

  • On Android, the mlkitTranslateVersion variable has been updated to 17.0.2.

NFC

  • The techType property of the TransceiveOptions interface is now only available for iOS. On Android, the connect(...) method must first be called to establish the connection to an NFC tag. The transceive(...) method can then be used to send and receive data. Finally, the close(...) method must be called to terminate the connection.