45 questions
1
vote
0
answers
101
views
iOS build fails with react-native-screens constexpr error (expo(bare), react-native
I am developing a mobile app using Expo (bare workflow) and React Native on an M1 MacBook.
After reinstalling macOS and restoring my project backup, the iOS build fails, while Android builds and runs ...
0
votes
0
answers
76
views
Which versions of gesture-handler, reanimated, safe-area-context, and screens work with React Native 0.74.3?
I am using React Native 0.74.3 for my project, and I want to install navigation-related dependencies.
Specifically, I want to know which versions of these libraries are compatible with React Native 0....
0
votes
0
answers
74
views
React native android app closes unexpectedly with react-native-gesture-handler
Context
I have a react-native app with the following versions
react-native: 0.73.11
react-native-gesture-handler: 2.21.0
react-native-screens: 4.1.0
I have used GestureHandlerRootView from 'react-...
3
votes
0
answers
143
views
React native BlurView shows blank screen in Android but not in iOS
Using BlurView from @react-native-community/blur on Android (iOS working fine), makes the screen blank.
Initially I solved this by creating a hook that allows me to render BlurView only after its ...
1
vote
1
answer
521
views
React Native 0.77.2 Android Run Failed - undefined symbol errors with react-native-screens/safe-area/svg
I'm getting a build error when trying to run my React Native 0.77.2 Android app. The build fails with multiple undefined symbol errors related to react-native-safe-area-context , react-native-screens &...
0
votes
3
answers
471
views
Unable to build React Native Screens v4.0 and above for iOS
I constantly get these errors
/Users/username/workspace/appName/node_modules/react-native-screens/ios/RNSScreenStackHeaderConfig.mm:39:49 Constexpr variable 'DEFAULT_TITLE_FONT_SIZE' must be ...
0
votes
1
answer
251
views
Unresolved reference: BaseReactPackage
I am getting error in implementing react-native-screen using react-native.
file:///Users/prateekbhardwaj/Desktop/buau_app/node_modules/react-native-screens/android/src/main/java/com/swmansion/...
1
vote
1
answer
308
views
Gorhom Bottom sheet modal not showing up in expo 51.0.39
working on ride booking app and on the mapscreen with React native mapview, want to pop up a modal once user redirects after inputing pickup location but it fails to come up fails to come up
how can ...
3
votes
2
answers
4k
views
Unresolved reference: BaseReactPackage in react-native-screens on Android with React Native 0.72.4
I'm working on a project using React Native 0.72.4 (using the default Paper architecture) and I'm encountering build errors on Android related to react-native-screens. The error output (truncated) is ...
1
vote
1
answer
178
views
java.lang.UnsatisfiedLinkError: dlopen failed: library "libhermes_executor.so" not found
I upgraded my React native from 0.71.8 to 0.76.5. After the upgrade, I run the app on my Android phone, and I got the below error
java.lang.UnsatisfiedLinkError: dlopen failed: library "...
0
votes
0
answers
475
views
React Native screens Android build failed due to CMake
unable to make build on Android giving error:
> Task :app:compileDebugKotlin FAILED
> Task :react-native-screens:configureCMakeDebug[arm64-v8a] FAILED
C/C++: /Users/node_modules/react-native-...
0
votes
0
answers
91
views
Can I remove react-native-gesture-handler safely after I dropt react navigation from my react native project?
I used to use react navigation in my react native project but after we moved everything to a webview wrapper instead of native elements, we are not using react navigation in any way, two of the ...
1
vote
0
answers
104
views
ScrollView in React Native seemingly not working specifically for web view
For more context, ScrollView does work on a single page website. But whenever I start importing different pages, I get a very curious bug that prevents the ScrollView component from working. I also ...
0
votes
1
answer
93
views
Run react-native app and getting ERROR Invariant Violation: requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager
Tried every thing still I'm encountering a persistent error in my Expo app when trying to run it using npx expo start. The error message is as follows:
ERROR Invariant Violation: ...
2
votes
0
answers
758
views
React app failing with error :react-native-screens:configureCMakeDebug[arm64-v8a]'. > [CXX1210] ERROR
When I uploaded react-native-screens, I faced the below error:
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Picked up ...
0
votes
2
answers
2k
views
A problem occurred configuring project ':react-native-screens'. k\26.1.10909125 did not have a source.properties file
FAILURE: Build failed with an exception. `* What went wrong: A problem occurred configuring project ':react-native-screens'. k\26.1.10909125 did not have a source.properties file Try: Run with --...
0
votes
0
answers
162
views
Error when run in react native Android after installed react-native-screens
I already installed react-native-screens successfully(npm install react-native-screens),but,run the app (metro) i get this error(npm run android) :
how to run android app successfully
i want to make ...
1
vote
2
answers
2k
views
ERROR Error: Exception in HostObject::get for prop 'RNSModule': java.lang.UnsatisfiedLinkError:
ERROR Error: Exception in HostObject::get for prop 'RNSModule': java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.mobileshopsten-...
1
vote
1
answer
66
views
React Native - Flex
I have two components in a screen. One is an Image and other is a View.
I give flex:1 to main view and give flex:0.7 to image and flex:0.3 to view.
import { Image, StyleSheet, Text, View, ...
0
votes
0
answers
289
views
Snackbar showing under a bottom sheet in React Native
I am having difficulties with the snackbar and bottom sheet. I built a custom snackbar and used react-native-actions-sheet as the bottom sheet. I tried FullWindowOverlay, but it only works on iOS. ...
1
vote
1
answer
384
views
React Native Screens
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-screens:compileDebugKotlin'.
Error while evaluating property 'compilerOptions.jvmTarget' of task ':...
14
votes
3
answers
2k
views
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 ...
4
votes
6
answers
4k
views
Not able to run the app due to import com.swmansion.rnscreens.RNScreensPackage;
I am trying to run the app for the Android platform but it's always failing. Can anyone please help me please check below the screenshot of the error while compiling the build for Android?
error: ...
0
votes
0
answers
550
views
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 ...
1
vote
0
answers
225
views
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 ...
6
votes
1
answer
4k
views
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
5
votes
4
answers
4k
views
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: ...
1
vote
1
answer
4k
views
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:
...
13
votes
5
answers
3k
views
'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....
21
votes
12
answers
76k
views
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 ...
1
vote
0
answers
1k
views
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-...
1
vote
0
answers
976
views
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....
2
votes
3
answers
5k
views
"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 ...
2
votes
1
answer
1k
views
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 ...
1
vote
1
answer
1k
views
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 ...
2
votes
1
answer
3k
views
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 ...
2
votes
0
answers
603
views
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'...
3
votes
1
answer
4k
views
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.
...
6
votes
0
answers
1k
views
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;
^...
0
votes
0
answers
318
views
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 ...
1
vote
1
answer
1k
views
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-...
0
votes
1
answer
1k
views
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 ...
1
vote
0
answers
343
views
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) ...
1
vote
0
answers
999
views
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 ...
2
votes
0
answers
399
views
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 = (...