Declare appropriate permissions

Health Services on Wear OS uses the following distinct permissions:

Consult the table below to determine which permissions are necessary for your app, based on the types of fitness data that you want to present to users. Make sure to follow the basic principles for requesting permissions, including asking for permissions in context.

If your app targets API level 33 or higher and uses PassiveMonitoringClient to access body sensor information in the background, request both the BODY_SENSORS and BODY_SENSORS_BACKGROUND permissions.