Skip to content

chore(example-app): add SceneDelegate and finish the SwiftUI template migration - #107

Open
andredestro wants to merge 1 commit into
nextfrom
chore/RMET-5344/complete-uiscene-migration
Open

andredestro wants to merge 1 commit into
nextfrom
chore/RMET-5344/complete-uiscene-migration

Conversation

@andredestro

Copy link
Copy Markdown
Contributor

Description

Follow-up to #106. That migration used cap migrate from 9.0.0-alpha.8, which did not yet finish the SwiftUI entry-point conversion. This PR re-runs cap migrate with the CLI built from ionic-team/capacitor next (d58c032e, which includes ionic-team/capacitor#8647 and the Android AGP/Gradle updates) to complete it:

  • iOS: adds SceneDelegate.swift (registered in the App target) and application(_:configurationForConnecting:options:) in AppDelegate. It also removes, where present: the unused Main.storyboard, the stock open url / continue userActivity forwarding (now handled by .onOpenURL / .onContinueUserActivity in App.swift), and leftovers from older templates (CAPACITOR_DEBUG, debug.xcconfig).
  • Android: AGP 9.4.1 and the Gradle wrapper update from capacitor next.

package.json and the lockfiles are unchanged: Capacitor stays on 9.0.0-alpha.8, because the template files don't depend on the unreleased runtime.

Verification

  • iOS: Debug build succeeds with Xcode 27.1 (iOS Simulator).
  • Android: not built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant