Questions tagged [react-native-screens]

30 questions
15
votes
5 answers

'Failed to find fragment for React Root View' React Native Android RNScreens

I had to rebuild my gradle for android, and now I'm getting an error with RNScreens. Failed to find fragment for React Root View shows in the app. Here is logcat: 2022-08-20 22:54:02.259 9195-9241/com.testApp.testApp E/WM-WorkerWrapper: Work […
Joel Hager
  • 2,990
  • 3
  • 15
  • 44
14
votes
3 answers

Memory Leak in React Navigation on Android

We are encountering an issue where our React Native Android application crashes on certain devices due to a memory leak. While it works perfectly on most devices, roughly 25% of users have reported this crash. The problem has been tracked via…
14
votes
9 answers

react-native-screens:compileDebugKotlin FAILED

I am trying to use React Navigation in my RN project, but when I install react-native-screens, which is a required package for it to work, I cannot build the project again. The error I get is the following: Task…
MIPB
  • 1,770
  • 2
  • 12
  • 21
5
votes
0 answers

React-native-screens error: cannot find symbol import com.facebook.react.views.text.ReactTypefaceUtils;

.../node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.java:26: error: cannot find symbol import com.facebook.react.views.text.ReactTypefaceUtils; ^ symbol: class ReactTypefaceUtils location:…
Xhirazi
  • 735
  • 4
  • 15
3
votes
1 answer

react-native-screens has been ignored because it contains invalid configuration. Reason: "dependency.platforms.android.componentDescriptors" not allow

I'm facing this issue Package react-native-screens has been ignored because it contains invalid configuration. Reason: "dependency.platforms.android.componentDescriptors" is not allowed
3
votes
2 answers

java.lang.UnsatisfiedLinkError: dlopen failed: library "libreanimated.so" not found React Native Reanimated Issue React Native

Hey folks I am facing a critical issue on project while running the app on Android. I have visited the related question but not found any solution. Error is following. complete error: Error: Exception in HostFunction:…
2
votes
3 answers

"Undefined symbols for architecture x86_64 error" when migrating from React Navigation 5 to 6 on iOS

I am developing an app with React Native and trying to migrate from React Navigation 5 to 6. For this I have followed the steps that come in the Upgrading from 5.x guide. The versions of React and React Native are these: "react":…
2
votes
1 answer

How to make screens appear only after installation in react native expo

I have a few welcome screens that should only appear once, when the app is first launched after installation, but I have no idea how. My app is in react-native 0.64.3 and expo 43.0.2 Thank you in advance
2
votes
1 answer

Separator/divider gets to hide in React Native App

In my React Native Project, I am trying to make some kind of lists using Flatlist or sometimes using map method, for executing JSX Element. I am getting the result correctly, But there is a bit of a problem in separate. Let's take chatting app…
2
votes
0 answers

error activity need to extend ReactFragmentActivity or ReactCompatActivity when app is opened from an 3rd party app

I have a react-native application that is crushing if it is open from ODK Collect. It opens and works perfectly if it is open from its icon. The error is In order to use RNScreens components your app's activity need to extend ReactFragmentActivity…
Wede Asmera Tseada
  • 513
  • 2
  • 4
  • 14
2
votes
1 answer

How to change default background colour in React Native

I recently updated from RN 0.60 to 0.65, and after hours of debugging I can get my app to build and run again. However, for some reason the background colour of my app has changed from white to gray. I'm using react-native-router-flux for…
2
votes
0 answers

Native stack is only available if React Native Screens is enabled

When I try to run tests for storyshots with native screens enabled for react-navigation I get this: Native stack is only available if React Native Screens is enabled. 15 | const getRenderedTree = (story: any) => { 16 | const storyElement =…
1
vote
0 answers

Why would React-Navigation documentation not include some of the most important props and functionalities?

After playing around with React-Navigation's Native Stack headerSearchBarOptions to render a native search bar on iOS in my React-Native project, I wanted to implement search functionality. However, I just couldn't figure out how to apply logic…
1
vote
0 answers

React Native: Can a module in one node_modules folder access modules from a different node_modules?

In my React Native app I'm using react-navigation-tabs, for which you need to separately install several other modules such as react-native-screens. I made a custom version of react-navigation-tabs in ./Custom/react-navigation-tabs. What I want to…
1
vote
1 answer

Render error: requirenativecomponent: "rnsscreen" was not found in the uimanager on Macbook M1

After success build on Macbook M1 of React Native app in Xcode 13.4.1 get the render error: The same app on Macbook with intel chip builds with out any errors. I tried to reinstall react-navigation: npm install @react-navigation/native And…
1
2