Skip to content

Commit 400e545

Browse files
author
Jickson P
committed
Hide warning popup from react-native
1 parent 019404e commit 400e545

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Application.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,8 @@ global.LOG = (...args) => {
179179
return args[args.length - 1];
180180
};
181181

182+
//TODO move this to config file
183+
console.disableYellowBox = true;
184+
console.warn('YellowBox is disabled.');
185+
182186
module.exports = Application;

0 commit comments

Comments
 (0)