From e5ddf71af6f18bdcfaa68559ad4e32a4d27a0906 Mon Sep 17 00:00:00 2001 From: Ldoppea Date: Thu, 29 Feb 2024 12:22:00 +0100 Subject: [PATCH] fix: Disable File logger In #1137 we implemented a new File logger mechanism Unfortunately this has a side effect on react-native-background-geolocation which has a logger mechanism based on the same library and fails to work if we enable our new File logger A solution is investigated in BeTomorrow/react-native-file-logger#64 but until then we want to disable the feature so we can continue publishing the app Related PR: #1137 Related Issue: BeTomorrow/react-native-file-logger#64 --- src/App.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.js b/src/App.js index 68f3428ef..cfd7e12ee 100644 --- a/src/App.js +++ b/src/App.js @@ -62,9 +62,12 @@ import LauncherView from '/screens/konnectors/LauncherView' import { useShareFiles } from '/app/domain/osReceive/services/shareFilesService' import { ClouderyOffer } from '/app/view/IAP/ClouderyOffer' import { useDimensions } from '/libs/dimensions' +// Temporarily disable FileLogger until we fix issue https://github.com/BeTomorrow/react-native-file-logger/issues/64 +/* import { configureFileLogger } from '/app/domain/logger/fileLogger' configureFileLogger() +//*/ // Polyfill needed for cozy-client connection if (!global.btoa) {