Created
April 20, 2023 14:36
-
-
Save dutradotdev/5c4b14d0a49b6d03cf8d28174495541d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to log all console.log() in iOS release mode: | |
1. go to RCTLog (cmd shift o) | |
2. edit the method RCTLogTypeForLogLevel to: | |
static os_log_type_t RCTLogTypeForLogLevel(RCTLogLevel logLevel) | |
{ | |
return OS_LOG_TYPE_ERROR; | |
} | |
3. rebuild the app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment