Skip to content
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

App crashes on production build with new architecture on React Native 0.76 #110

Open
sAleksovski opened this issue Dec 29, 2024 · 3 comments

Comments

@sAleksovski
Copy link
Owner

Stacktrace:

24-11-19 23:30:42.930  8160-8267  AndroidRuntime          com.androidwidgetexampleexpo         E  FATAL EXCEPTION: mqt_native_modules
	Process: com.androidwidgetexampleexpo, PID: 8160
	com.facebook.react.common.JavascriptException: Error: Exception in HostFunction: Could not enqueue microtask because they are disabled in this runtime, js engine: hermes, stack:
	setImmediate@1:302007
	startHeadlessTask@1:354056
	__callFunction@1:107712
	anonymous@1:106154
	__guard@1:107094
	callFunctionReturnFlushedQueue@1:106112
	
		at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.kt:52)
		at com.facebook.jni.NativeRunnable.run(Native Method)
		at android.os.Handler.handleCallback(Handler.java:958)
		at android.os.Handler.dispatchMessage(Handler.java:99)
		at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
		at android.os.Looper.loopOnce(Looper.java:205)
		at android.os.Looper.loop(Looper.java:294)
		at com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2(MessageQueueThreadImpl.java:217)
		at com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
		at java.lang.Thread.run(Thread.java:1012)
@sAleksovski sAleksovski changed the title App crashes on new architecture on React Native 0.76 App crashes on production build with new architecture on React Native 0.76 Dec 29, 2024
@mefjuu
Copy link

mefjuu commented Feb 4, 2025

Really crashes? On RN .77 with newArchEnabled=true widget updating has no effect (there is no crash though)

@gpercem
Copy link

gpercem commented Feb 14, 2025

I can confirm the crashes. I am running expo 52.0.25 with react native 0.76.7 with newArchEnabled=true, and having render issues on widget with constant crashes. I didn't try upgrading react native to 0.77 but turning off the new architecture solved the crash and rendering issues.

@pelinche
Copy link

pelinche commented Mar 4, 2025

Same happens here (Expo 52.0.36, react-native 0.76.6 - newArchEnabled = true).

Does anyone have any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants