How do i emit events in the new arch from onNewIntent ?
#310
Unanswered
dummyorggen-sketch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the new architecture, the code below is being called inside onNewIntent:
This worked fine in the old architecture, but in the new arch I’m getting the following error:
From what I found, it seems like ReactNativeHost was part of the old architecture, so that’s probably why this crashes now. I’ve been stuck on this for two days and honestly kinda exhausted at this point. If anyone can point me in the right direction or tell me how I’m supposed to emit events in the new arch from onNewIntent, I’d really appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions