Questions tagged [react-native-screens]

30 questions
1
vote
0 answers

Invariant Violation: requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager

I started leaning react native and stuck at this issue: Invariant Violation: requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager. I checked on react-native-screen and @react-navigation repositories but exact solution…
1
vote
0 answers

React native app screen flickering. when changing one screen to another screen, 2nd screen is flickering

Current Installed Versions - "@react-navigation/stack": "^5.14.9", "@react-navigation/native": "^5.9.8", "accordion-collapse-react-native": "^1.1.0", "react-native-screens": "^3.13.1", "react-native-reanimated": "^2.4.1", "react":…
1
vote
1 answer

React Native app crash instantly after add Realm + React Navigation (screens/gesture handler)

I'm working on a fresh react native project (CLI). So I started adding and configuring React navigation (Stack and Drawer). Also i added React-native gesture handler and react native screens (because both are dependencies to react navigation). Until…
1
vote
1 answer

React Native Screen freezes scrollview in iOS

I'm having a problem with react-native-screens. My version was 2.9.0 and I updated with the latest version 2.15.2. After I updated it to the latest version it freezes the scrollview under my @react-navigation/bottom-tabs. The other screens are…
1
vote
0 answers

Change height of react-native-screens navigation header

Is it possible to change the height (or add a padding to its content) of a react-native-screens/native-stack header? The default react navigation header has different style properties (such as height) than the native one has. The action buttons on…
Dion
  • 3,145
  • 20
  • 37
1
vote
0 answers

How to understand react native Performance Monitor view counts

From what I understand the views tab on the react native performance monitor shows visible views/total or merged views. From what I can gather... it's better to have these numbers as low as possible and as close together as possible: react-native…
Will
  • 1,592
  • 12
  • 22
0
votes
3 answers

Not able to run the app due to import com.swmansion.rnscreens.RNScreensPackage;

error: cannot find symbol import com.swmansion.rnscreens.RNScreensPackage; I am trying to run the app for Android platform but it's always failing. Can anyone please help me please check below one screenshot of error while compiling build for…
0
votes
0 answers

"RNSScreen" was not found in the UIManager - Expo Dev Client

Following the official blog post, I've recently upgraded my Expo-managed project to Expo 47 (from version 45). I've built a custom dev client for my application and installed it on my Android emulator. I'm now trying to open it with npx expo start…
0
votes
0 answers

REACT-NATIVE-SCREENS CompileSdkVersion not found Error

I'm getting a CompileSdkVersion error when I install react-native-screens to my project. I have followed the changes needed to make react-native screens work from the documentation and controlled if there is version mistake but it seems like there…
0
votes
0 answers

Bottom tabs and screen not touchable

I have a project that has stack and tab navigation in it. There is a strange problem it in which is: The tabs and screens are not touchable sometimes, although the screen is always scrollable is there is any ScrollView in that screen. Note: The…
0
votes
0 answers

Moving from stack navigator to native stack navigator results in headerTransparent no longer working

I moved from stack navigators to native stack navigators to improve the performance, but headerTransparent no longer works in my screens. All other screen options like headerShown, headerTitleStyle, title, headerRight, etc. work as expected. Does…
0
votes
0 answers

React Native: one module asking for another module

When I try to run my React Native app it throws the following error: Unable to resolve module react-native-screens from /node_modules/react-navigation-tabs/lib/module/navigators/createBottomTabNavigator.js: react-native-screens could not…
0
votes
0 answers

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':react-native-screens:compileDebugKotlin'

I'm working on a react native project and while trying to run, I'm getting this error, any idea as to what might be wrong Task :react-native-screens:compileDebugKotlin FAILED FAILURE: Build failed with an exception. What went wrong: Execution…
0
votes
0 answers

How to render a UINavigationController instance in react native using react-navigation and react-native-screens?

I have a setup where I have bottom navigator created via createBottomTabNavigator, and each tab rendering a native stack navigator created via createNativeStackNavigator. Now I'm trying to merge another app in written in Swift UIkit. That app uses…
0
votes
1 answer

React native screens with functions or classes?

I'm making an app with react native, actually I have the screens with classes : class registerScreen extends Component { But now I'll like to use "useEffect" hook but see I cannot with classes so I have to migrate them to functions...something…
Marco Martin
  • 185
  • 1
  • 4
  • 18
1
2