-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
Hello,
I have this issue while using the library into an Expo project.
I have the following in my _layout file which is the entry point for Expo Router:
import "@/global.css";
import { StatusBar } from "expo-status-bar";
import Providers from "@components/providers";
import useLoadApp from "@/src/hooks/useLoadApp";
import { useTheme } from "@/src/hooks/useTheme";
import { Slot, SplashScreen } from "expo-router";
import { useCallback } from "react";
import { View } from "react-native";
import * as ExpoImage from "expo-image";
import { FileLogger } from "react-native-file-logger";
FileLogger.configure();
SplashScreen.preventAutoHideAsync();
export default function Layout() {
...
It works fine, but when I do any change in the code which triggers a hot reload in Metro then I receive the mentioned error:
I know 100% that, because when I remove the FileLogger.configure row it works fine also on hot reload.
Metadata
Metadata
Assignees
Labels
No labels
