Skip to content

Commit

Permalink
fix(ios): fix debug issues with scenes (#13979)
Browse files Browse the repository at this point in the history
* Revert "Revert "feat(ios): support multi-scene applications (#13941)""

This reverts commit 4a1d20f.

* fix: defer loading kroll-core to scene initialization
# Conflicts:
#	iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m
  • Loading branch information
hansemannn committed Jan 31, 2024
1 parent 46a7b6d commit 34e0086
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// If a "application-launch-url" is set, launch it directly
[self launchToUrl];

// Boot our kroll-core
[self boot];

// Create application support directory if not exists
[self createDefaultDirectories];

return YES;
}

Expand Down Expand Up @@ -1238,6 +1232,12 @@ - (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session op

// Initialize the root-controller
[self initController];

// Boot our kroll-core
[self boot];

// Create application support directory if not exists
[self createDefaultDirectories];
}

#pragma mark Background Tasks
Expand Down

0 comments on commit 34e0086

Please sign in to comment.