From 2cbaf5d0ce192a6f55ebf79483be6190cdfbb73c Mon Sep 17 00:00:00 2001 From: Ldoppea Date: Tue, 30 Jul 2024 20:35:01 +0200 Subject: [PATCH] feat: Declare offline support in cozy-apps injected metadata --- src/components/webviews/jsInteractions/jsCozyInjection.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/webviews/jsInteractions/jsCozyInjection.ts b/src/components/webviews/jsInteractions/jsCozyInjection.ts index 6c1374da6..400a5ea9d 100644 --- a/src/components/webviews/jsInteractions/jsCozyInjection.ts +++ b/src/components/webviews/jsInteractions/jsCozyInjection.ts @@ -17,6 +17,7 @@ const makeMetadata = (routeName?: string): string => { return JSON.stringify({ immersive: routeName ? immersiveRoutes.includes(routeName) : false, navbarHeight, + offline_available: true, platform: Platform, routeName, statusBarHeight,