---
title: Updating to Capacitor 6.0
description: Capacitor 6.0 is here! Find out what breaking changes have been made to the Capawesome plugins and how to update your code.
date: 
  created: 2024-04-16
  updated: 2024-04-16
authors:
  - robingenz
categories:
  - Capacitor
  - SDKs
---

# 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](https://ionic.io/blog/announcing-capacitor-6-0){:target="_blank"} from the Ionic team.
In this article, you can find out what breaking changes have been made to the Capawesome plugins.

<!-- more -->

!!! tip "AI-Assisted Upgrade"

    For a more guided experience, add the [Capawesome skills](https://github.com/capawesome-team/skills){:target="_blank"} to your project with `npx skills add capawesome-team/skills --skill capacitor-app-upgrades` and use the following prompt with your preferred AI coding assistant:

    ```
    Use the `capacitor-app-upgrades` skill from `capawesome-team/skills` to help me upgrade my Capacitor app to Capacitor 6.
    ```

## 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

- You must specify appropriate foreground service types in your `AndroidManifest.xml` (see [Declare foreground services in your manifest](https://developer.android.com/develop/background-work/services/foreground-services#types){:target="_blank"} and [Request the foreground service permissions](https://developer.android.com/develop/background-work/services/foreground-services#request-foreground-service-permissions){:target="_blank"}).

### 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.

## Related Posts

- [How to Fix Capacitor Plugin Build Errors with AGP 9](./how-to-fix-capacitor-plugin-build-errors-with-agp-9.md)
- [How to Upgrade Your Capacitor App to Capacitor 8](./how-to-upgrade-your-capacitor-app-to-capacitor-8.md)
- [How to Upgrade Your Capacitor Plugin to Capacitor 8](./how-to-upgrade-your-capacitor-plugin-to-capacitor-8.md)
- [Support 16 KB page sizes in Android with Capacitor](./support-16kb-page-sizes-with-capacitor.md)
