Is there a way to communicate from babylon to android like javaScriptInterface in webview

I have implemented Android to Babylon Native communication using N-API .Now i need to communicate to android from babylon native. I have tried the same as their default function
_native.whenGraphicsReady() .But did not get the expected result .

Adding @bghgary and @Cedric our native gurus.

Hi @Midhun_RS Wellcome to the forum and Happy New year!

Iā€™m sure not to understand what you want to achieve here. Do you want to call Native function from JS? Call Java function from Native? Call JS function from Java?

Can you elaborate more on your use case?

Native function from JS, Call Java function from Native, Call JS function from Java
I need all of these. But I did it using N-API and now its working fine. thanks

3 Likes