-
Notifications
You must be signed in to change notification settings - Fork 2.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
React Native 0.50.1 - Release Crash #1348
Comments
We are having the same issue spent at least half the day debugging, which wasn’t really debugging since the error description was so terrible. We need a fix ASAP for this. |
0.50 has many changes, including index.android.js and index.ios.js merge. If you upgrade, you need to do a lot of work |
@stephenheron @PvanHengel @whevether Can you check through this on Forum |
I have the same crash on release but I dont use NativeBase. |
I had the same issue but the issue has been resolved for me by adding below to "resolutions": {
"metro-bundler": "0.20.1"
} The issue is with |
Unfortunately 20.1 didn't work for us... We are still digging, hope someone finds a fix soon! |
And neither 0.20.2 |
Im trying 20.2 now as well... I assume will get the same result as you, fingers crossed though, this is a major blocker. |
Agreed 0.20.2 doesn't work either... |
Same here, doing this to be sure:
|
I got the same issue, but it works fine in debug mode |
I found the solution, just add this code into package.json
|
Yes! Thanks @naviocean |
Uglify-js tag a version 3.1.9 that fix the issue, i can build a with the release flag now, so you can add resolutions like this :
|
I got this error, tried adding uglify js not working any other solution?
|
PropTypes issue - fix for #1348 React Native 0.50.1 - Release Crash
Fixed with NativeBase 2.3.5 |
this happens again!
|
I'm still getting an error too. I am not 100% certain that
|
Hi,
I just upgraded from RN 0.49 to 0.50.1 and have ran into problem when building and running the release version. I trimmed my app back to the simplest version it could be and I narrowed it down to NativeBase.
react-native, react and native-base version
"native-base": "^2.3.3",
"react": "^16.0.0",
"react-native": "^0.50.1",
Expected behaviour
App does not crash when built for release and ran.
Actual behaviour
App crashes when built and ran in release mode. The following output is shown in the Xcode output:
Steps to reproduce (code snippet or screenshot)
This code causes the issue to appear:
However if I remove the reference to NativeBase it all seems to work. Working code:
Screenshot of emulator/device
N/A
Is the bug present in both ios and android or in any one of them?
I am only developing on iOS currently.
Any other additional info which would help us debug the issue quicker.
Sorry I can't be of more help but the issue only appears in production which makes it tricky to track down. I thought it might be something todo with this: facebook/react-native#16567
The text was updated successfully, but these errors were encountered: