Google Fit vs Health Connect SDK connection types?
The two connection types differ in what they read
The two connection types differ in what they read:
Connections.HEALTH_CONNECTretrieves all data in Health Connect, regardless of which app wrote it.Connections.GOOGLEFITretrieves only the data Google Fit itself synced into Health Connect.
Both trigger the Health Connect permission screen. Use HEALTH_CONNECT if you want the full dataset from every contributing app.
PreviousWhy does generateAuthToken hit a CORS error?
NextWhy isn't Health Connect background sync firing?
Last updated
Was this helpful?