-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Incompatible with react-native-safe-area-context
version < 4
#2251
Comments
Got issue about SafeArea also but
|
Fixed by the answer: https://stackoverflow.com/questions/72469920/invariant-violation-tried-to-register-two-views-with-the-same-name-rncsafeareap/72470161#72470161 installed react-native-safe-area-context@4.3.1 |
as we are using yarn there is no dedupe, it is being done automatically, for us the issue was pinning a specific version of react-native-safe-area-context@4.3.4, after changing to ^4.3.4 it worked |
I was facing the same issue |
facing the same problem |
Should be fixed with #2353 and https://github.com/FaridSafi/react-native-gifted-chat/releases/tag/v2.0.0 |
Issue Description
Crashes on web when
react-native-safe-area-context
version < 4.Throws error
Uncaught Error: No safe area value available. Make sure you are rendering
at the top of your app.
Works fine when
react-native-safe-area-context
version is >= 4.Steps to Reproduce / Code Snippets
react-native-safe-area-context@3
Expected Results
I would expect the app not to crash, or at least a message saying to update
react-native-safe-area-context
.Additional Information
The text was updated successfully, but these errors were encountered: