Sending data from a mobile app to Android Wear delay

I am trying to synchronize data between the settings application and the clock mechanism, and I was out of luck. I tried using googleApiClient with listeners and onDataChanged and DataMaps, but there is a huge delay on the wear device for receiving data. (I say like 5 minutes or more from sending from a mobile).

I also tried using Teleport Library for Wearable, and I can confirm that it works on the mobile side, but I get nothing on the wear side.

As a rule, there is a huge delay with the synchronization settings? What is the best way to communicate between mobile and wearing?

+4
source share
1 answer

Starting with Play Services 8.3, data synchronization using DataApi is performed at a certain frequency, which means that the synchronization of your data can be delayed up to 30 minutes. If you need immediate synchronization, you need to make sure that your request is set as urgent .

+3
source

Source: https://habr.com/ru/post/1623624/


All Articles