Comments (6)
Hi, @AlirezaHadjar, thanks for submitting the issue! Yeah, this is definitely not correct to require configuring this prop while using Screen Transition API 😅 We'll look onto that, thanks!
from react-native-screens.
I've investigated this PR quite a bit and I see that this error is caused by this line - https://github.com/software-mansion/react-native-screens/blob/main/src/native-stack/views/NativeStackView.tsx#L310
Since we want to also rely on theme from React Navigation, we're depending on the value returned from ThemeContext. This is wrong approach, since on native side we're checking if this value has been set - if so, we're throwing an error if UIViewControllerBasedStatusBarAppearance
is set to <false />
. We've got some idea how can we fix that error, but the solution is not ready yet.
from react-native-screens.
Hi, @AlirezaHadjar and @tboba, I see the issue for version 2.21.0 upwards. With version 2.20.0 the issue doesn't show up.
React Native version | 0.71.14 |
Platforms | iOS |
JavaScript runtime | Hermes |
Workflow | React Native (without Expo) |
Architecture | Paper (Old Architecture) |
Build type | Debug mode |
Device | iOS simulator |
Device model | iPhone 14 |
from react-native-screens.
Side note:
Setting UIViewControllerBasedStatusBarAppearance
to true
fixes the issue. But I'm not sure this is the correct way of fixing this since some libraries such as react-native-bars require setting UIViewControllerBasedStatusBarAppearance
to false
from react-native-screens.
Related Issues (20)
- Missing React-RCTImage dependency HOT 4
- Android App Crash because of this HOT 9
- RNScreens doesn't build on ReactNative 0.73.5 for iOS HOT 14
- New architecture with static conditional router showing blank on iOS HOT 1
- Execution failed for task ':react-native-screens:compileDebugKotlin'. HOT 9
- Elements with `position: absolute` disappear during screen transition
- [Android] Task :react-native-screens:compileReleaseKotlin FAILED HOT 5
- React-RCTFabric compile issue HOT 1
- iOS react-navigation not fullScreen HOT 2
- [3.30.0] Installation fails after new release. `/bin/sh: 1: cd: can't cd to react-navigation` HOT 19
- Error upon running npm install on 3.30.0 HOT 4
- Issue on installation of latest version HOT 2
- Android Build Error - Execution failed for task ':react-native-screens:configureCMakeRelWithDebInfo' HOT 19
- Not able to navigate to a nested modal navigator HOT 4
- Android ComposeView, Composable is gone upon returning to Screen from stack HOT 2
- Types on FullWindowOverlay does not allow to set style props (even if used in examples
- [android] stack screen transition lag on 3.30.1 HOT 12
- Seems like "goBackGesture" not working! HOT 3
- [3.31.0] CI builds fails, command not found: bob HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-screens.