question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

suppressExpoWarnings not working

See original GitHub issue

I can’t get expo to properly suppress the warnings. I put this at the top of my root file:

import { THREE } from 'expo-three';
THREE.suppressExpoWarnings(true);

…but I still get tons of webgl warnings. Am I doing something wrong here? Using Android.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
EvanBaconcommented, Jan 21, 2018

@SebastianMerz @JulianKingman You have to add THREE.suppressExpoWarnings(true); in componentWillMount for whatever reason…

0reactions
michela98bcommented, Nov 6, 2018

Try this:

componentWillMount() { THREE.suppressExpoWarnings(true); }

Read more comments on GitHub >

github_iconTop Results From Across the Web

R - suppressMessages / suppressWarnings not working
I have tried expressions with suppressMessages(expr), suppressWarnings(expr), but they keep outputting messages.
Read more >
@SuppressWarnings annotation does not suppress ... - GitHub
Problem : @SuppressWarnings annotation does not suppress UncommentedMainCheck violations. Input file: Test1.java public class Test1 ...
Read more >
541035 – @SuppressWarnings("unchecked") not working
The @SuppressWarnings("unchecked") is not working and i see the warnings. Trying to clean and build not worked,I even closed and reopent the project....
Read more >
SuppressWarnings does not work with a constant
The plugin can't process @SuppressWarnings annotation with a constant. Example: @SuppressWarnings(“java:S1168”) // works @SuppressWarnings(Sonar ...
Read more >
Java @SuppressWarnings Annotation | Baeldung
In this quick tutorial, we'll have a look at how to use the @SuppressWarnings annotation. 2. @SuppressWarnings Annotation. Compiler warning ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found