Skip to content

Commit

Permalink
ignore all warnings / error
Browse files Browse the repository at this point in the history
  • Loading branch information
Elilewis327 committed Dec 12, 2022
1 parent 10345d8 commit d3cf72b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ import RateScreen from './screens/RateScreen';
import OnlineHelp from './screens/OnlineHelp';
import RateSubmit from './screens/RateSubmit'
import { Button, StyleSheet } from 'react-native';
import { LogBox } from 'react-native';

const Stack = createNativeStackNavigator();

export default function App() {
LogBox.ignoreLogs(['Warning: ...']); // Ignore log notification by message
LogBox.ignoreAllLogs();//Ignore all log notifications

return (
<NavigationContainer>
Expand Down

0 comments on commit d3cf72b

Please sign in to comment.