PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, April 27, 2022

[FIXED] How to disable warning in React Native ?

 April 27, 2022     react-native, warnings     No comments   

Issue

I know warnings are important. But I don't want them on screen for the specific reason. How to disable those yellow colored warnings appearing on screen


Solution

Its advisable to note that this won't show up on a release build...but if you want to remove the warnings, you can set console.disableYellowBox = true

More info in the documentation:

https://facebook.github.io/react-native/docs/debugging.html#warnings



Answered By - ReyHaynes
Answer Checked By - Marie Seifert (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing