Search code examples
google-play-servicesgoogle-fitgoogle-fit-sdk

Google fit data is different from device to device with same account


I have created a Google Fit application to read/write data from Google Fit. I have two devices linked to the same account, but I cannot see the data added from one device to another.

How is this fixed?


Solution

  • We can read global data (Cloud) by adding the .enableServerQueries() in DataReadRequest