From d3226c3c5351d71bbca1eec65ff00b7db8b9bf26 Mon Sep 17 00:00:00 2001 From: Rui Mendes Date: Tue, 16 Jun 2026 13:02:33 +0100 Subject: [PATCH 1/2] chore: update dependencies for Capacitor 9 --- Package.swift | 5 ++--- package.json | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Package.swift b/Package.swift index 76e45c2..bce7098 100644 --- a/Package.swift +++ b/Package.swift @@ -11,14 +11,13 @@ let package = Package( targets: ["KeyboardPlugin"]) ], dependencies: [ - .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0") + .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "9.0.0-alpha.0") ], targets: [ .target( name: "KeyboardPlugin", dependencies: [ - .product(name: "Capacitor", package: "capacitor-swift-pm"), - .product(name: "Cordova", package: "capacitor-swift-pm")], + .product(name: "Capacitor", package: "capacitor-swift-pm")], path: "ios/Sources/KeyboardPlugin", publicHeadersPath: "include"), .testTarget( diff --git a/package.json b/package.json index a1da48e..888f83f 100644 --- a/package.json +++ b/package.json @@ -47,11 +47,11 @@ "publish:cocoapod": "pod trunk push ./CapacitorKeyboard.podspec --allow-warnings" }, "devDependencies": { - "@capacitor/android": "^8.0.0", - "@capacitor/cli": "^8.0.0", - "@capacitor/core": "^8.0.0", + "@capacitor/android": "next", + "@capacitor/cli": "next", + "@capacitor/core": "next", "@capacitor/docgen": "^0.3.0", - "@capacitor/ios": "^8.0.0", + "@capacitor/ios": "next", "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "^4.0.0", "@ionic/swiftlint-config": "^2.0.0", @@ -71,7 +71,7 @@ "typescript": "^5.9.3" }, "peerDependencies": { - "@capacitor/core": ">=8.0.0" + "@capacitor/core": ">=9.0.0-alpha.0" }, "prettier": "@ionic/prettier-config", "swiftlint": "@ionic/swiftlint-config", From b9263a5717fd3ebb4203e3808c0f24ccc1851211 Mon Sep 17 00:00:00 2001 From: Rui Mendes Date: Tue, 16 Jun 2026 13:29:37 +0100 Subject: [PATCH 2/2] format code --- Package.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index bce7098..58e3543 100644 --- a/Package.swift +++ b/Package.swift @@ -17,7 +17,8 @@ let package = Package( .target( name: "KeyboardPlugin", dependencies: [ - .product(name: "Capacitor", package: "capacitor-swift-pm")], + .product(name: "Capacitor", package: "capacitor-swift-pm") + ], path: "ios/Sources/KeyboardPlugin", publicHeadersPath: "include"), .testTarget(