-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reviewed By: vjeux Differential Revision: D2667624 fb-gh-sync-id: f3c6ed63f3138edd13e7fe283cf877d598018813
- Loading branch information
Showing
5 changed files
with
361 additions
and
404 deletions.
There are no files selected for viewing
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
Oops, something went wrong.
8ab5182
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we lost the commit message on this import, any details on what the impetus was / what improvements were made?
8ab5182
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also:
require('sprintf')
in this commit does not resolve8ab5182
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, here is the original commit message.
Revamps the former
WarningBox
as the newYellowBox
component with the following changes:__DEV__
) with aconsole.disableYellowBox
flag to disable it.console.ignoreYellowBox
property to ignore warnings by string suffix.console.error
calls with strings that start withWarning:
.@brianreavis Thanks for the report and sorry for the breakage. 6b3a6e5 fixes this.
8ab5182
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how to disable the yellowBox ?? why i release my iOS APP,(schema is release) ,and still have the yellowBox?
8ab5182
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It only appears if DEV is true. You can disable it by setting
console.disableYellowBox = true;
.8ab5182
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean it doesnt care what Xcode has setted release,it just care how you bundle your package ?