Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Ignore warnings #9

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "react-native-gesture-handler";
import React from "react";
import { LogBox } from "react-native";
import { NavigationContainer } from "@react-navigation/native";
import { createStackNavigator } from "@react-navigation/stack";

Expand All @@ -15,7 +16,7 @@ const pubnub = new PubNub({
uuid: "0"
});

console.disableYellowBox = true;
LogBox.ignoreLogs(['Setting a timer', 'deprecated global'])

const Stack = createStackNavigator();

Expand Down
1 change: 0 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"name": "Blank Template",
"slug": "react-native-example",
"privacy": "public",
"sdkVersion": "36.0.0",
"platforms": [
"ios",
"android",
Expand Down
Loading