We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2041a15 + d70f38a commit f3099dcCopy full SHA for f3099dc
1 file changed
index.js
@@ -20,6 +20,10 @@ if (isSslPinningAvailable()) {
20
});
21
}
22
23
-LogBox.ignoreLogs(["Warning: Failed prop type: Invalid props.style key"]);
+if (process.env.NODE_ENV === "production") {
24
+ LogBox.ignoreAllLogs();
25
+} else {
26
+ LogBox.ignoreLogs(["Warning: Failed prop type: Invalid props.style key"]);
27
+}
28
29
AppRegistry.registerComponent(appName, () => Root);
0 commit comments