debug-js/debug

Disable Logs In React Native showing in socket.io-client package

sheikx1221 opened this issue · 1 comments

expo 47.0.8
expo-dev-client 2.0.1
react 18.0.1
react-native 0.70.5
socket.io-client 4.5.4

after installing log are enabled by default. This was not happening in expo sdk 46. I do not have DEBUG env key in .env (using react-native-dotenv) and our main source of communication is socket io. How to disable logs in react native because there is no such option available in socket.io client itself.

ENV is not being read. Tried DEBUG="" but no use.
Please let me know how can I disable it. also this solution is also not working.

Qix- commented

No idea, most likely one of those software packages is manually calling enable() which I've urged people not to do. You'll need to take it up with one of them, nothing has changed here for a long time.

Good luck!