Skip to content

refactor: adopt UIScene lifecycle#121

Open
raulriera wants to merge 1 commit intorefactor-new-serverfrom
refactor/adopt-uiscene-lifecycle
Open

refactor: adopt UIScene lifecycle#121
raulriera wants to merge 1 commit intorefactor-new-serverfrom
refactor/adopt-uiscene-lifecycle

Conversation

@raulriera
Copy link
Collaborator

Summary

  • Move all UI setup, lifecycle callbacks, and deep link handling from AppDelegate into a new SceneDelegate
  • AppDelegate retains only non-UI init (analytics, error reporting, fonts, appearance) and push notification token registration
  • Add UIApplicationSceneManifest to Info.plist with UIApplicationSupportsMultipleScenes = false

Required for iOS 26 SDK compatibility — apps without scene support log a warning now and will crash on launch with the iOS 27 SDK.

Test plan

  • Build succeeds
  • App launches in simulator with no scene lifecycle console warnings
  • Deep link via xcrun simctl openurl works (warm and cold launch)
  • Universal link handling works
  • Push notification delivery works via .apns file
  • Background/foreground transitions work correctly (same PID, no relaunch)
  • No multiple windows spawned (UIApplicationSupportsMultipleScenes = false)

Move all UI setup, lifecycle callbacks, and deep link handling from
AppDelegate into a new SceneDelegate. AppDelegate retains only non-UI
init (analytics, error reporting, fonts, appearance) and push
notification token registration. Adds UIApplicationSceneManifest to
Info.plist with multiple scenes disabled.

Required for iOS 26 SDK compatibility — apps without scene support
log a warning now and will crash on launch with the iOS 27 SDK.
@raulriera raulriera changed the base branch from main to refactor-new-server February 26, 2026 15:40
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