feat(ios): multi-window support (#10786)

This commit is contained in:
Nathan Walker
2025-11-03 17:01:43 -08:00
committed by GitHub
parent c8c741072f
commit 96733c2ecc
13 changed files with 1623 additions and 71 deletions

View File

@@ -80,6 +80,19 @@ function applySdkVersionClass(rootView: View): void {
const globalEvents = getNativeScriptGlobals().events;
// Scene lifecycle event names
export const SceneEvents = {
sceneWillConnect: 'sceneWillConnect',
sceneDidActivate: 'sceneDidActivate',
sceneWillResignActive: 'sceneWillResignActive',
sceneWillEnterForeground: 'sceneWillEnterForeground',
sceneDidEnterBackground: 'sceneDidEnterBackground',
sceneDidDisconnect: 'sceneDidDisconnect',
sceneContentSetup: 'sceneContentSetup',
};
export type SceneEventName = (typeof SceneEvents)[keyof typeof SceneEvents];
// helper interface to correctly type Application event handlers
interface ApplicationEvents {
off(eventNames: string, callback?: any, thisArg?: any): void;