Skip to content

chore(deps): update to Capacitor 8.5 - #59

Merged
robingenz merged 1 commit into
mainfrom
chore/capacitor-8.5
Oct 8, 2026
Merged

robingenz merged 1 commit into
mainfrom
chore/capacitor-8.5

Conversation

@robingenz

Copy link
Copy Markdown
Member

Updates Capacitor to 8.5 and adopts the iOS UIScene lifecycle, which Xcode 27 requires (migration guide).

Changes

  • Update @capacitor/core, @capacitor/ios, @capacitor/android and @capacitor/cli from 8.2.0 to 8.5.2 (8.5.3 was published today and is still blocked by the npm minimum release age)
  • Add SceneDelegate.swift and register it in the Xcode project
  • Add the UIApplicationSceneManifest to Info.plist
  • Add the scene configuration hook to AppDelegate.swift and remove the URL handlers that iOS no longer calls under the scene lifecycle (the app uses no deep links or universal links)
  • Update Podfile.lock

No installed plugin uses the APIs removed in 8.5 (tmpWindow, TmpViewController).

Testing

  • Unit tests pass
  • App launches on iOS
  • pause/resume events fire on iOS

The iOS build could not be verified yet: with Xcode 27 the vendored cordova-plugin-advanced-http fails to compile (Use of private header from outside its module: 'netinet6/in6.h'). This is not caused by this PR. npm run build also fails on main with TS2320 errors in the @ionic/core types. Both should be fixed separately.

Copilot AI balanced review requested due to automatic review settings October 7, 2026 17:02
@robingenz robingenz self-assigned this Oct 7, 2026
@robingenz robingenz added the platform: ios iOS platform label Oct 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃數 Needs a closer look

iOS launch and pause/resume behavior remain unverified because the reported native build blocker prevents runtime validation.

0 open findings

What changed in this PR

Updates Capacitor to 8.5.2 and migrates the iOS app to the UIScene lifecycle required by Xcode 27.

Changes:

  • Updates Capacitor dependencies and lockfiles.
  • Adds and registers the iOS scene delegate and manifest.
  • Moves URL handling from the application delegate to the scene delegate.
File Description
package.json Pins Capacitor packages to 8.5.2.
package-lock.json Updates resolved dependencies and removes extraneous entries.
ios/鈥婣pp/鈥婸odfile.lock Updates native Capacitor versions and checksums.
ios/鈥婣pp/鈥婣pp/鈥婼ceneDelegate.swift Creates the scene window and forwards URL events.
ios/鈥婣pp/鈥婣pp/鈥婭nfo.plist Declares the scene configuration.
ios/鈥婣pp/鈥婣pp/鈥婣ppDelegate.swift Configures scenes and removes application-level URL handlers.
ios/鈥婣pp/鈥婣pp.xcodeproj/鈥媝roject.pbxproj Includes SceneDelegate.swift in the build.

馃 Review effort: Balanced


馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@robingenz
robingenz merged commit 4dde54e into main Oct 8, 2026
6 checks passed
@robingenz
robingenz deleted the chore/capacitor-8.5 branch October 8, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants