Closed kyadalu1 closed 1 year ago
@kyadalu1 The syntax you're using to register the signal is incorrect; you can either use
_android_plugin.connect("testSignal", Callable(self,"on_testSignal"))
or
_android_plugin.connect("testSignal", on_testSignal)
I tried looking into the signal repo which you have created but you're not sending any data from native android to godot side.
The gltf viewer sample sends a signal with a String
data, you can use it for reference.
Thank you
I am trying to integrate signals via android plugin. Below is my android code
When i call the
helloWorldSignal
method from Godot side i am able to see theToast
but i am not able to get the data which i am sending using theemitSignal
methodMy Godot code
on_testSignal
is never called.I tried looking into the signal repo which you have created but you're not sending any data from native android to godot side. Sorry i am pretty new to Godot