Comments (17)
Hi @MuazzezA, I agree that's strange, given the information that you're using activity with all installation steps completed. However, we can't spot any issues with this error, while we're completing installation steps ourself. Could you please provide a minimal repro that will show the same error as yours, so that we could investigate this issue further? Also, what devices are you using on production to test your app?
from react-native-screens.
There is a question that comes to my mind. Will changing this in the route reduce my errors?
Dunno man :/ Basically change from JS stack to native one (you can also test on @react-navigation/native-stack
) should be painless, however you need to keep in mind that some prop have changed their names between stack versions, so most likely you would need to change in few more places.
from react-native-screens.
Hi, First of all I want to share with you all the outputs I have. these came from Firebase Crashlytics. (changed the application name to app)
https://pastecode.io/s/g9wgb6fd
(info : 83% of crash events for this issue happened in the first 5 seconds of a user's session)
%48 samsung , %26 xiaomi and other devices. and %31 android 14.
I don't get this error, but some of my users do.
from react-native-screens.
Looks like omitted installation steps.
from react-native-screens.
But this error does not exist on all prod devices. I cannot implement a native solution because I can only use codepush. However, the current steps are given below.
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
//NOTE FIX: https://github.com/software-mansion/react-native-screens/issues/17#issuecomment-424704067
super.onCreate(null);
overridePendingTransition(0, 0);
SplashScreen.show(this, R.style.SplashScreenTheme, true);
}
// manifest
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true">
There is a question that comes to my mind. Will changing this in the route reduce my errors?
import { createStackNavigator} from '@react-navigation/stack';
to
import {createNativeStackNavigator} from 'react-native-screens/native-stack';
/*
"react-native": "^0.71.6",
"@react-navigation/core": "^6.4.6",
"@react-navigation/native": "^6.1.6",
"@react-navigation/native-stack": "^6.9.8",
"@react-navigation/stack": "^6.3.11",
*/
from react-native-screens.
This same error appeared in our logs for the first time yesterday. @MuazzezA did you figure out what's going on?
from react-native-screens.
@joelbrewer unfortunately. I haven't found any solution. I don't even know where the error is coming from but I'll let you know when I figure it out.
from react-native-screens.
Most likely it is this line that throws an error, if it's of any help to you.
from react-native-screens.
@kkafar yes this solution is already in my project but it is not working. i think it is a temporary solution.
from react-native-screens.
from react-native-screens.
Are there any updates on this error? Facing the same issue.
from react-native-screens.
I don't have any unfortunately. I want not able to reproduce this crash even once and there is no reproduction provided.
Waiting for repro here
from react-native-screens.
Related Issues (20)
- iOS build fails with Undefined symbols: facebook::jsi::HostObject::~HostObject() HOT 6
- [iOS] back gesture activates `Pressable` element HOT 2
- Inconsistency with navigationBarColor Transparency on react-native-screens versions >= 3.30.0" HOT 6
- `live-markdown` + `native-stack` + `fabric` causes incorrect layout when keyboard is open on Android HOT 2
- react-navigation: App randomly freezes when react-native Modal is shown while preventing remove screen with usePreventRemove on iOS HOT 3
- Unable to run the Android build in react-native:0.68.7 HOT 3
- > Could not create task ':react-native-screens:compileReleaseKotlin'. > KOTLIN_1_9 HOT 1
- > Could not create task ':react-native-screens:compileReleaseKotlin'. > KOTLIN_1_9 HOT 7
- [Fabric] Going back to previous screen disables interactions with Touchables with @react-navigation/bottom-tabs
- My app in Android crashes when restoring from the background when I want to use the camera. HOT 7
- Incorrect/Reversed back arrow direction in rtl with native stack HOT 4
- Invariant Violation: requireNativeComponent: "RNSScreen" was not found in the UIManager. HOT 3
- Importing RNScreens in Xcode iOS Swift file fails to compile HOT 2
- App Crashes with message "-[RCTView setSheetLargestUndimmedDetent:]: unrecognized selector sent to instance" HOT 2
- App Crashes with message "-[RCTView setSheetLargestUndimmedDetent:]: unrecognized selector sent to instance" HOT 2
- transparentModal doesn't appear on the screen although it is rendered after upgrading from react-native 0.72.5 to 0.74.1 on Android 14 HOT 2
- bug(iOS): transitionStart is not triggered for anything but default navigation HOT 1
- [Android] :: running foreground cause screen fragment memory leak
- Orientation is not locked as intended
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.