diff --git a/docs/docs/guides/GETTING_STARTED.mdx b/docs/docs/guides/GETTING_STARTED.mdx index ddb19661..2f1b3cc5 100644 --- a/docs/docs/guides/GETTING_STARTED.mdx +++ b/docs/docs/guides/GETTING_STARTED.mdx @@ -66,6 +66,40 @@ For react-native-worklets-core its necessary to add a plugin to your `babel.conf cd ios && pod install ``` +## Disable native logs + +Native react-native-filament memory logs, such as `RNF/HybridObject` `Creating` and `Deleting`, are enabled by default. You can disable them with the following platform-specific settings: + + + + Add the following to your `ios/Podfile` before installing pods: + + ```ruby + $RNFEnableLogs = false + ``` + + Rerun `pod install` after changing this setting. + + + + + Add the following to your `android/gradle.properties`: + + ```properties + RNF_enableLogs=false + ``` + + + + +After changing either setting, rebuild the native app. Reloading Metro alone is not sufficient. This only affects native react-native-filament logs, not arbitrary application `console.log` output. + 4. Start Metro with clean cache: ```sh