How to read health connect data in background
I am developing an application to read the data from health connect. The app should read the data even if its in the background so that user won’t have to reopen the app to sync the data from health connect.
In health connects documentation they have mentioned a permission to read data in background but I am unable to see the permission in the list in health connect and my app is unable to request or allow the permission.