Open musawarbilal786 opened 1 year ago
Hi, not sure if this relates to your issue, but based on your message you are sending from RN:
const message: IMessage = { gameObject: 'gameObject', methodName: 'methodName', message: 'message', };
Make sure that:
From your code snippet it seems like your function is named "handleMessage" which is not the same name as the "methodName" you specify in React Native when sending the message.
Hope this helps.
I am sending message from react native to Unity but not able to receive message in Unity,
-> Message sending from
Unity to RN
is working fine butRN to Unity
is not working for me-> Not able to find any function in document to receive message in unity
=> Please provide a way to get message in Unity
here is RN code:
. . .
here is my Unity Script: