-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RCTFatal + 448 crash when testing via iOS TestFlight #20715
Comments
@udarts Did you solve it? |
@radik nope, as I still have no idea what the issue is and why it happened. |
@udarts Could you share your package.json? {
"name": "MyApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"test:lint": "eslint ."
},
"dependencies": {
"eslint-plugin-jest": "^21.18.0",
"lodash": "^4.17.10",
"mobx": "5.0.0",
"mobx-react": "5.2.0",
"moment": "^2.22.2",
"native-base": "^2.7.2",
"prop-types": "^15.6.2",
"react": "16.4.1",
"react-native": "0.56.0",
"react-native-maps": "^0.21.0",
"react-native-router-flux": "git+https://github.com/aksonov/react-native-router-flux.git",
"react-native-scalable-image": "^0.4.0",
"react-native-star-rating": "^1.0.9",
"react-native-swiper": "^1.5.13"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.47",
"@babel/runtime": "7.0.0-beta.47",
"@babel/plugin-proposal-decorators": "7.0.0-beta.47",
"@babel/plugin-transform-classes": "7.0.0-beta.47",
"@babel/plugin-transform-runtime": "7.0.0-beta.47",
"babel-bridge": "^1.12.11",
"babel-eslint": "^8.2.6",
"babel-jest": "23.4.0",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-preset-react-native": "^5.0.2",
"eslint": "^5.2.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-react-native": "^3.2.1",
"jest": "23.4.1",
"jsc-android": "^224109.1.0",
"prettier-eslint": "^8.8.2",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native",
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
}
},
"rnpm": {
"assets": [
"./src/assets/fonts/"
]
}
} |
@udarts Do you have this problem on Android? |
@radik no problem on android, seems ios related here is my package.json {
"name": "MyApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"firebase": "^5.4.0",
"lodash": "^4.17.10",
"moment": "^2.22.2",
"moment-timezone": "^0.5.21",
"native-base": "^2.7.2",
"node-quill-converter": "^0.3.1",
"quill-delta-to-html": "^0.8.4",
"random-string": "^0.2.0",
"react": "16.4.2",
"react-native": "0.56.0",
"react-native-action-button": "^2.8.4",
"react-native-bottom-toolbar": "^4.1.2",
"react-native-checkbox-heaven": "^0.1.5",
"react-native-communications": "^2.2.1",
"react-native-datepicker": "^1.7.2",
"react-native-drawer": "^2.5.0",
"react-native-elements": "^0.19.1",
"react-native-firebase": "^4.3.8",
"react-native-i18n": "^2.0.15",
"react-native-keyboard-spacer": "^0.4.1",
"react-native-loading-spinner-overlay": "^0.5.2",
"react-native-modal": "^6.5.0",
"react-native-modal-picker": "0.0.16",
"react-native-popup-dialog": "^0.15.0",
"react-native-restart": "0.0.6",
"react-native-root-toast": "^3.0.1",
"react-native-side-menu": "^1.1.3",
"react-native-simple-store": "^1.3.0",
"react-native-splash-screen": "^3.1.1",
"react-native-svg": "^6.5.2",
"react-native-swipeout": "^2.3.6",
"react-native-swiper": "^1.5.13",
"react-native-switch-selector": "^1.1.8",
"react-native-tableview-simple": "^0.17.5",
"react-native-vector-icons": "^5.0.0",
"react-native-webhtmlview": "0.0.3",
"react-native-webview-bridge": "^0.33.0",
"react-native-webview-quilljs": "^0.8.34",
"react-navigation": "^2.11.2",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-devtools-extension": "^2.13.5",
"redux-thunk": "^2.3.0",
"toggle-switch-react-native": "^1.0.0"
},
"devDependencies": {
"babel-jest": "23.4.0",
"babel-preset-react-native": "5.0.2",
"babel-plugin-transform-remove-console": "^6.9.4",
"react-devtools": "^3.2.3",
"jest": "23.4.1",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
} |
@udarts For me, it has exactly the same behavior on android (signed release apk): shortly crashes after start.
|
@udarts I'm not sure, that this will help you, but I found a reason for my project. --- a/.babelrc
+++ b/.babelrc
@@ -1,13 +1,5 @@
{
"presets": [
"react-native"
- ],
- "plugins": [
- [
- "@babel/plugin-proposal-decorators",
- {
- "legacy": true
- }
- ]
]
} This is not a proper solution, but at least I found a reason. Still working to figure out what to do. @udarts Please, let me know if you find anything related to issue. |
+1 |
Upgrading react-native from 0.57.1 to 0.57.3 fixed this for me. |
I have faced same problem, any solution? |
Is anyone solved this problem? |
I can not reproduce the issue but there is too much users facing it specially after iOS 12.1 My packages:
|
@nicholasc can you confirm this today? Did you checked Xcode crash logs at these days? |
Hello there 👋 this issue doesn't have a repro (which means, a react-native init-ed project with the minimal changes that leads to creating the same issue you are reporting). Unfortunately, I have no way of helping you in a meaningful way – there is no easy way for me to recreate the situation and check that the issue reported is still there when changing the code. Because of this, we are going to close this issue - but if a repro is shared, we are happy to reopen it 🤗 |
Developers, be aware: RCTFatal appears in almost every stack trace you have on iOS, but it's not the original error message. It's just a utility that is supposed to print the error for you. Before commenting, make sure you check your stack trace and look for the original issue. |
@grabbou what would be a meaningful way to dig deeper into errors like this? |
Encountering this. No useful stacktrace provided. |
Environment
Description
I have released my app for testing by a specific group of people via Apple's TestFlight.
For most of the testers it seems to work perfect, but I had 1 person reporting a crash, I loaded into XCode and got the RCTFatal + 448 error.
Which seems to relate to:
Found in:
At this moment no idea what it is causing the crash. So no idea what code to provide.
The text was updated successfully, but these errors were encountered: