Open ConnorDykes opened 8 months ago
Please Help
I'm getting the exact same experience here. Everything seems to send Ok from either device but nothing is ever received. If I send from the watch to its own deviceID, the message is received fine and if I send from the phone to its own deviceID, the message is received also but if I send to each other, nothing is received. Did you manage to get anywhere with this?
Facing the same issue here, using Flutter for Android App and Kotlin for WearOS app (both have the same application ID)
After some debugging I figured out my issue. Here are some steps you can take to validate that the apps can talk to each other:
messageclient.sendMessage
. OP is already doing this by using the package's sendMessage
function, but I'm mentioning this as this was the mistake I made.
I created a flutter app for wear os and a flutter app for android. I am trying to use the package on the watch app to send a message to the phone app. it appears to be sending but I cannot listen to the messages on the phone. The watch is paired with the phone. Both the phone and the watch can see the id of each other and they both appear to be sending a message. I initiate a listener but I never get any messages.
here is the code for my listener on the phone side
here is the code I am using to send the message from the watch to the phone app :
Both the apps have the same applicationId in the build.gradle. I would appreciate some guidance if you have it.