> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/strip-unused-health-permissions-store-review.md).

# How do I remove unused Health Connect permissions?

The Terra Android SDK declares all Health Connect permissions by default, which triggers Play Store review questions about permissions you do not actually use.

Do not delete the lines outright. Instead, **add `tools:node="remove"` to each unused `<uses-permission>` entry in your `AndroidManifest.xml`** so they are stripped from the merged manifest, while declaring normally the permissions you do use. The SDK keeps working with only the permissions your app uses.

If you intend to read all Health Connect data types:

* Complete Google Play's health apps declaration in the Play Console (per Google's health apps declaration docs).
* For full data-type access, apply through Google's Health Connect API access form, explaining each data type's use.

Make sure the Play Store health declaration **exactly matches** the permissions in your manifest, or the submission will be rejected. This is documented in the [Android setup section](https://docs.tryterra.co/health-and-fitness-api/mobile-only-sources/android-kotlin).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tryterra.co/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/strip-unused-health-permissions-store-review.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
