I would like to get some technical help with the google fit rest Rest API.
I am making an app that requires access to the location information and as a response for
As part of Google's ongoing efforts to improve data privacy and security, we are updating the Google Fit API. In November 2018, we made changes to the way location samples can be read through the Fit API for Android and the Fit REST API.
Going forward, applications will only be able to read location samples that they have written to the platform. As the merge_location_samples
stream is written internally by the Fit platform, it is no longer accessible to third-party developers.
If your application requires access to location, we encourage you to use the standard means for accessing location on a user's device (see here).