From 16ad2edc3a2e9f766ba3441ad64bd8c506f25d12 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Mon, 21 Feb 2022 12:33:17 +0100 Subject: [PATCH] MOBILE-3833 core: Expose urlSchemes in development --- src/core/initializers/prepare-devtools.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/initializers/prepare-devtools.ts b/src/core/initializers/prepare-devtools.ts index e3326eaf2..adc324726 100644 --- a/src/core/initializers/prepare-devtools.ts +++ b/src/core/initializers/prepare-devtools.ts @@ -14,16 +14,19 @@ import { CoreConfig, CoreConfigProvider } from '@services/config'; import { CoreDB, CoreDbProvider } from '@services/db'; +import { CoreCustomURLSchemes, CoreCustomURLSchemesProvider } from '@services/urlschemes'; import { CoreConstants } from '../constants'; type DevelopmentWindow = Window & { configProvider?: CoreConfigProvider; dbProvider?: CoreDbProvider; + urlSchemes?: CoreCustomURLSchemesProvider; }; function initializeDevelopmentWindow(window: DevelopmentWindow) { window.configProvider = CoreConfig.instance; window.dbProvider = CoreDB.instance; + window.urlSchemes = CoreCustomURLSchemes.instance; } export default function(): void {