45 questions
1
vote
0
answers
91
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
68
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-...
1
vote
1
answer
507
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
1
answer
238
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/...
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 ...
0
votes
0
answers
471
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-...
1
vote
0
answers
103
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 ...
2
votes
0
answers
751
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
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
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, ...
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 ':...
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: ...
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 ...
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: ...
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....
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-...
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 ...
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
0
answers
602
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'...
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;
^...
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-...
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) ...
2
votes
0
answers
398
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 = (...