From 8b4348a6a21aa4895595799a0684cbc05c4296f6 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Fri, 17 Apr 2020 21:14:39 +0200 Subject: [PATCH] Ignored navigation warning --- App.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/App.js b/App.js index 437e9d4..d0b84d3 100644 --- a/App.js +++ b/App.js @@ -1,7 +1,7 @@ // @flow import * as React from 'react'; -import {Platform, StatusBar} from 'react-native'; +import {Platform, StatusBar, YellowBox} from 'react-native'; import LocaleManager from './src/managers/LocaleManager'; import AsyncStorageManager from "./src/managers/AsyncStorageManager"; import CustomIntroSlider from "./src/components/Custom/CustomIntroSlider"; @@ -18,6 +18,10 @@ import ConnectionManager from "./src/managers/ConnectionManager"; import URLHandler from "./src/utils/URLHandler"; import {setSafeBounceHeight} from "react-navigation-collapsible"; +YellowBox.ignoreWarnings([ // collapsible headers cause this warning, just ignore as it is not an issue + 'Non-serializable values were found in the navigation state', +]); + type Props = {}; type State = {