This file contains hidden or 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
import React, { useEffect } from 'react'; | |
import { | |
StyleSheet, | |
View, | |
Text, | |
AppState, | |
Button, | |
} from 'react-native'; | |
import { Colors } from 'react-native/Libraries/NewAppScreen'; |
This file contains hidden or 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
// See https://github.com/mrdoob/three.js/pull/14483 | |
const consoleWarn = window.console.warn; | |
window.console.warn = function() { | |
const string = arguments[0]; | |
const filterStrings = [ | |
'is not power of two', | |
'image is too big', | |
'marked for update', | |
]; | |
// filter warnings containing above strings |