From b921fd370689750ab137485ff39b7798ef59c67e Mon Sep 17 00:00:00 2001 From: Alfonso Salces Date: Thu, 21 Apr 2022 09:57:46 +0200 Subject: [PATCH] MOBILE-4021 devtools: add pushNotifications instance --- 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 dbd3df0b1..7e0d4d255 100644 --- a/src/core/initializers/prepare-devtools.ts +++ b/src/core/initializers/prepare-devtools.ts @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +import { CorePushNotifications, CorePushNotificationsProvider } from '@features/pushnotifications/services/pushnotifications'; import { CoreApp, CoreAppProvider } from '@services/app'; import { CoreConfig, CoreConfigProvider } from '@services/config'; import { CoreDB, CoreDbProvider } from '@services/db'; @@ -25,6 +26,7 @@ type DevelopmentWindow = Window & { configProvider?: CoreConfigProvider; dbProvider?: CoreDbProvider; urlSchemes?: CoreCustomURLSchemesProvider; + pushNotifications?: CorePushNotificationsProvider; }; function initializeDevelopmentWindow(window: DevelopmentWindow) { @@ -33,6 +35,7 @@ function initializeDevelopmentWindow(window: DevelopmentWindow) { window.configProvider = CoreConfig.instance; window.dbProvider = CoreDB.instance; window.urlSchemes = CoreCustomURLSchemes.instance; + window.pushNotifications = CorePushNotifications.instance; } export default function(): void {