Repository navigation
How can I add a Javascript/ Typescript function call to RNW from a native module. #14423
Answered
by
chrisglein
Bibekananda Sahoo (imbibeks826)
asked this question in
Q&A
|
I have a function in RNW side and want to trigger that function whenever a event happened in native side. I'm able to capture event change in native side, how to call the javascript function available in RNW side. Your help and comments are appreciated. |
Answered by
chrisglein
Mar 13, 2025
Replies: 2 comments
|
Maybe not as discoverable as it should be, but the default native module example here covers how to build a native module event, which is native code calling back up to JS. Does that meet your needs? |
0 replies
Answer selected by
chrisglein
|
Thanks for the info, I'll check on this. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe not as discoverable as it should be, but the default native module example here covers how to build a native module event, which is native code calling back up to JS. Does that meet your needs?