I am trying to use the MessageClient Api https://developers.google.com/android/reference/com/google/android/gms/wearable/MessageClient to send messages between a WearOS Android app and a react-native app using a native module (https://github.com/claired4l/react-native-wear-connectivity/tree/fix/message-client-send-message-interface).
Both apps have the same application ID and the devices are correctly paired.
The communication works perfectly between two android Apps or between two react-native apps. However a hybrid setup of Android and react-native app opposes a heavy resistance. The listener simply never receives any update (no better behaviour using a background service implementing the WearableListenerService).
The code behind sendMessage and onMessageReceived being unknown I am running out of ideas of how to make this work. Has anyone ever encountered this issue and solved it?
claired4l is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.