admin管理员组文章数量:1335625
I recently upgraded my React Native App's targetSDKVersion to 34 with the following steps. I tested these changes after creating the aab file. I recently uploaded the changes to production. But I've got multiple crash & ANR reports in my google play console. They report that the app keeps crashing in multiple devices. I've tested it on a few devices and it's working ok but the crash report suggests that the majority of the crashes are on devices with API 34 and some other older APIs as well. And the stack trace is as follows
com.facebook.reactmon.JavascriptException
Exception com.facebook.reactmon.JavascriptException:
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:72)
at java.lang.reflect.Method.invoke
at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188)
at com.facebook.jni.NativeRunnable.run
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
at android.os.Looper.loop (Looper.java:263)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228)
at java.lang.Thread.run (Thread.java:923)
Not sure how I should proceed.
I recently upgraded my React Native App's targetSDKVersion to 34 with the following steps. I tested these changes after creating the aab file. I recently uploaded the changes to production. But I've got multiple crash & ANR reports in my google play console. They report that the app keeps crashing in multiple devices. I've tested it on a few devices and it's working ok but the crash report suggests that the majority of the crashes are on devices with API 34 and some other older APIs as well. And the stack trace is as follows
com.facebook.reactmon.JavascriptException
Exception com.facebook.reactmon.JavascriptException:
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:72)
at java.lang.reflect.Method.invoke
at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188)
at com.facebook.jni.NativeRunnable.run
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
at android.os.Looper.loop (Looper.java:263)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228)
at java.lang.Thread.run (Thread.java:923)
Not sure how I should proceed.
Share Improve this question asked Nov 20, 2024 at 5:37 ZephyrZephyr 2,4125 gold badges21 silver badges54 bronze badges1 Answer
Reset to default 0It seems it's caused by trying to use an uninitialized variable and it's not about react native.
look at this Comment and other comments on the topic.
you also can use a bug catching tools like sentry for more details.
本文标签:
版权声明:本文标题:android - React Native Crash error on Google Play Console "com.facebook.react.common.JavascriptException" - St 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742379249a2463772.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论