diff --git a/docs/getting-started/capacitor.md b/docs/getting-started/capacitor.md index 4fe5781..cd77b17 100644 --- a/docs/getting-started/capacitor.md +++ b/docs/getting-started/capacitor.md @@ -13,7 +13,7 @@ every application to implement image handoff. ## Requirements -This package declares support for Capacitor 8 (`>=8.0.0 <9`). The Engine library requires iOS 15+ and Android API 23+; the consuming Capacitor version or SDK may require a higher minimum. Composited Android capture requires API 26+ and the WebView features described in the [projection reference](../reference/projection.md#dom-and-native-surface-requirements). +The optional `@capacitor/core` peer supports Capacitor 8.x and 9.x. The Engine library requires iOS 15+ and Android API 23+; the consuming Capacitor version or SDK may require a higher minimum. Composited Android capture requires API 26+ and the WebView features described in the [projection reference](../reference/projection.md#dom-and-native-surface-requirements). ## Choose the Web destination diff --git a/package-lock.json b/package-lock.json index 7a3cc51..7722b7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "vitest": "^4.0.0" }, "peerDependencies": { - "@capacitor/core": ">=8.0.0 <9", + "@capacitor/core": "^8.0.0 || ^9.0.0", "@ionic/core": ">=8.8.1 <10" }, "peerDependenciesMeta": { diff --git a/package.json b/package.json index a992868..da12a30 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "access": "public" }, "peerDependencies": { - "@capacitor/core": ">=8.0.0 <9", + "@capacitor/core": "^8.0.0 || ^9.0.0", "@ionic/core": ">=8.8.1 <10" }, "types": "./dist/index.d.ts",