App crahses on launch upon updating the react native version on release
See original GitHub issueIs this a bug report?
yes
Have you read the Contributing Guidelines?
(Write your answer here.)
Environment
Environment: OS: Linux 3.10 Node: 6.11.0 Yarn: 1.2.0 npm: 3.10.10 Watchman: 4.7.0 Xcode: N/A Android Studio: Not Found
Packages: (wanted => installed) react: ^16.0.0 => 16.0.0 react-native: ^0.50.4 => 0.50.4
Steps to Reproduce
On debug version app works fine but in release version app crashes on launch
Error stack
Fatal Exception: com.facebook.react.common.JavascriptException: undefined is not an object (evaluating ‘d.propTypes.style’), stack: <unknown>@1169:521 t@2:633 <unknown>@2:224 e@2:231 <unknown>@1167:502 t@2:633 <unknown>@2:224 e@2:231 <unknown>@782:191 t@2:633 <unknown>@2:224 e@2:231 <unknown>@298:215 t@2:633 <unknown>@2:224 e@2:231 <unknown>@12:86 t@2:633 <unknown>@2:154 e@2:231 global code@1552:9
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:56)
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:40)
at java.lang.reflect.Method.invoke(Method.java)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:374)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:162)
at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)
at java.lang.Thread.run(Thread.java:761)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12
Top Results From Across the Web
after upgrade 0.66.4 -> 0.69.1 build was success but it crash ...
To know what's the version of Gradle & Android Gradle Plugin you're using; Someone to try out of a release build on a...
Read more >My React Native App Crash After Update Target Sdk Version 31
My React Native App crashes after update target Sdk version and compileSdkVersion 31. It was working version 30. Google play forced us this ......
Read more >ReactNative App Crashes when Deployed to TestFlight
When I download the app from TestFlight on the same device, the app crashes immediately upon opening the app. The app is built...
Read more >Fixing React-Native android release build - wesionaryTEAM
Android release build crashes on launch but works fine in development mode. After months of research and development, your app is finally ready...
Read more >App Center Crashes for React Native - Microsoft Learn
Your React Native app needs to be compiled in release mode for this crash to be sent to App Center. Note. At this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@FreddieOD yes the issue is solved by downgrading i don’t think that is better approach I really started thinking that how many of them are using 0.49.x and 0.50.x because i checked in both they faile creating release apk. so i’m keeping it open instead of closing
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.