Browse Source

Ignored navigation warning

Arnaud Vergnet 4 years ago
parent
commit
8b4348a6a2
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      App.js

+ 5
- 1
App.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import {Platform, StatusBar} from 'react-native';
4
+import {Platform, StatusBar, YellowBox} from 'react-native';
5 5
 import LocaleManager from './src/managers/LocaleManager';
6 6
 import AsyncStorageManager from "./src/managers/AsyncStorageManager";
7 7
 import CustomIntroSlider from "./src/components/Custom/CustomIntroSlider";
@@ -18,6 +18,10 @@ import ConnectionManager from "./src/managers/ConnectionManager";
18 18
 import URLHandler from "./src/utils/URLHandler";
19 19
 import {setSafeBounceHeight} from "react-navigation-collapsible";
20 20
 
21
+YellowBox.ignoreWarnings([ // collapsible headers cause this warning, just ignore as it is not an issue
22
+    'Non-serializable values were found in the navigation state',
23
+]);
24
+
21 25
 type Props = {};
22 26
 
23 27
 type State = {

Loading…
Cancel
Save