-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LogBox Error at the beginning of the application #39
Comments
That didn't work for me. What worked for me was creating a And I didn't change the App import into a require. |
I'm having the same issue when upgrading from react-native 0.61.4 to 0.63.4. I tried the solution proposed by @Tejpbit but no success unfortunately. Is there something else I can try? Thanks |
Same problem here, the logs are saying that require('react-native').unstable_enableLogBox() is now deprecated once it is included by default. Is there something else that worked for you guys? |
?? |
Also having the deprecated note showing...any solution? |
I ran into this error on React Native. For me, the issue was due to my code throwing an error before LogBox had a chance to start. |
Environment
Upgrading version
0.62.1
Problem
LogBox must be enabled before AppContainer is required so that it can properly wrap the console methods.
Solution
As usual we separate the code inside the "src" folder.
In the index.js file at the root of the project, we call it as follows:
For me this generated the above error.
To resolve, change the "import" to "require"
Example:
The text was updated successfully, but these errors were encountered: