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

How do I send a JSON from unity? #54

Open
clearly-outsane opened this issue Jul 13, 2021 · 0 comments
Open

How do I send a JSON from unity? #54

clearly-outsane opened this issue Jul 13, 2021 · 0 comments

Comments

@clearly-outsane
Copy link

clearly-outsane commented Jul 13, 2021

I'm sorry but there doesn't seem to be a clear explanation to this on the README

UnityMessageManager.Instance.SendMessageToRN(new UnityMessage() { name = "click", callBack = (data) => { Debug.Log("onClickCallBack:" + data); } });

When i do this from unity, nothing happens on the react native side, the function passed to onUnityMessage doesnt get triggered

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

1 participant