Search code examples
androidwear-osdata-synchronizationandroid-wear-data-api

Sending data from mobile app to Android Wear delay


I'm trying to sync data between a settings app and a watch face and I'm having no luck. I've tried using a googleApiClient with listeners & onDataChanged and DataMaps, but there is a huge delay on the wear device to receive the data. (I'm talking like 5 minutes or more from being sent on from the mobile).

I've also tried to use Teleport Library for Wearable and I can confirm it works on the mobile side, but I receive nothing on the wear side.

Is there typically a huge delay with sync setting options? What's the best way to communicate between mobile and wear?


Solution

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