react-native-file-logger
react-native-file-logger copied to clipboard
Possible Unhandled Promise Rejection (id: 1): TypeError: Cannot read property 'configure' of null
Unable to call the function FileLogger.configure({ logLevel: LogLevel.Debug }).then(() => console.log('File-logger configured'), );
Throws warning as follows 'Possible Unhandled Promise Rejection (id: 1): TypeError: Cannot read property 'configure' of null'
I'm Using NX react native project
It seems the lib is not linked properly. Normally, rect-native automatically links libs at compile time, but it doesn't seem to have worked here 🤷♂️
You can try to unsinstall/re-install the react-native-file-logger, clean project and re-build (and don't forget pod install on ios)
Hi @ShamSundar17, have you found a solution?
Please try with the last version [email protected] and tell us if the issue persist
Close for inactivity