Open joscha0 opened 4 weeks ago
Both the watch and phone apps mush have the same bundle identifier. Also the data is supposed to be a map.
Thanks for the quick reply. For Garmin apps there is no bundle identifier as far as I know?
I only have the app uuid which is the same as the applicationId.
I also tried with a dict as data but that doesn't work either:
Communications.transmit({"data"=>count}, null, listener);
Oh whoops I didn't see that you were using the Garmin plugin. Yeah I don't think there is a bundle identifier restriction there.
Unfortunately I created the Garmin plugin in collaboration with a company that I no longer work with, so I don't have a Garmin app to test with. Can you open the plugin example project in Xcode or Android Studio and set a breakpoint where the message is supposed to come in? If you need help with that, we could have a call on Discord to debug this.
I am trying to send a message from the watch to the android app when the user presses a button on the watch.
The connection to the simulator through adb works. But when I click a button the only thing I get inside the console is:
watch.isReachable
,isPaired
,isSupported
all aretrue
I am listening to the messages like this:
And sending from the watch like this:
The function from
public function onComplete() as Void {
triggers (on the watch). The messageStreamonData
doesn't trigger.Does the transmitted data has to be in a certain format? Or is there something else that could cause this issue?