> 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.md).

# Mobile SDK setup, permissions and crashes

Common questions about mobile SDK setup, permissions and crashes.

## Articles

{% content-ref url="/pages/IuTmKR6P0uv8PGQU1tIq" %}
[Can I connect Apple Health from a web app?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/mobile-only-sources-need-sdk-not-web-or-rest.md)
{% endcontent-ref %}

{% content-ref url="/pages/Uc2tJrMPfgHJA7OMZstR" %}
[Why does Health Connect re-prompt permissions on init?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/permission-prompt-reappears-on-init.md)
{% endcontent-ref %}

{% content-ref url="/pages/uaAqkTMPhfzpZ06Zw3pE" %}
[Why does the Flutter SDK fail in release but work in debug?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/android-release-proguard-r8-keep-rules.md)
{% endcontent-ref %}

{% content-ref url="/pages/SWP6xz3AoPg8xcPfDu1L" %}
[How do I remove unused Health Connect permissions?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/strip-unused-health-permissions-store-review.md)
{% endcontent-ref %}

{% content-ref url="/pages/ML5asHsOCetzdTsKOZhv" %}
[Why are Apple Health activity webhooks empty?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/apple-health-permission-list-mapping.md)
{% endcontent-ref %}

{% content-ref url="/pages/OD7NDAlEHmtXSBlOEV0J" %}
[Why am I seeing Android React Native background crashes?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/android-rn-background-crashes-upgrade.md)
{% endcontent-ref %}

{% content-ref url="/pages/YstEmp0NUgW7JBHypAAZ" %}
[Why do SDK data calls say permission not granted?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/init-sequence-before-data-calls.md)
{% endcontent-ref %}

{% content-ref url="/pages/z3XmvoooQvQBxs4EL3Cs" %}
[Why does the SDK report success when user denies permissions?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/connection-success-does-not-mean-permissions-granted.md)
{% endcontent-ref %}

{% content-ref url="/pages/vNpWzfRkoRl2sZgRjvuS" %}
[Why does Health Connect heart rate sync cause OOM crashes?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/health-connect-oom-large-hr-window.md)
{% endcontent-ref %}

{% content-ref url="/pages/dFd4dBQVt5rsI99nPf6V" %}
[Why is Google sign-in blocked in my WebView?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/google-oauth-blocked-in-webview.md)
{% endcontent-ref %}

{% content-ref url="/pages/IORGoCEBpUoFGt0ij3hf" %}
[How do users connect if the Apple companion app isn't in the App Store?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/missing-apple-companion-app-store-link.md)
{% endcontent-ref %}

{% content-ref url="/pages/CkuLxoIm40pMwKjH8GEA" %}
[How do I request more health permissions from existing users?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/expand-permissions-existing-users.md)
{% endcontent-ref %}

{% content-ref url="/pages/BXwHtXACa572iGLHsHUI" %}
[Why does Samsung initConnection return invalid session token?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/samsung-init-errors-token-devmode.md)
{% endcontent-ref %}

{% content-ref url="/pages/NsEl5lb5A3BWITBm46Yp" %}
[How does the Apple Health SDK work?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/apple-health-sdk-overview-capabilities.md)
{% endcontent-ref %}

{% content-ref url="/pages/f4DkE4NO7bQwzjuyUYao" %}
[Why does generateAuthToken hit a CORS error?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/auth-token-generate-server-side.md)
{% endcontent-ref %}

{% content-ref url="/pages/Nd31PDdSXE9KTNXcM22t" %}
[Google Fit vs Health Connect SDK connection types?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/google-fit-vs-health-connect-connection-types.md)
{% endcontent-ref %}

{% content-ref url="/pages/mj1KwecQ1hx7x7VZnkXq" %}
[Why isn't Health Connect background sync firing?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/health-connect-background-sync-not-firing.md)
{% endcontent-ref %}

{% content-ref url="/pages/cb6nPsXreACtf20RSQyH" %}
[Why did my Python SDK data pulls stop working?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/stale-sdk-version-broke-compat.md)
{% endcontent-ref %}

{% content-ref url="/pages/EKUCeyVcEqNam4COK8wU" %}
[Why do I get 'Invalid dev-id was provided'?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/invalid-dev-id-validation-catchall.md)
{% endcontent-ref %}

{% content-ref url="/pages/7kfvRJwC3VzKa1hdmk8L" %}
[How do getSleep start and end date filters work?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/getsleep-date-filter-behaviour.md)
{% endcontent-ref %}

{% content-ref url="/pages/XI5Wt4vua9zJeGmFJHOj" %}
[Why does the Health Connect permission screen never appear?](/faq/help-topics/data-api-sdk/mobile-sdk-setup-permissions-and-crashes/health-connect-permission-screen-missing-client-build.md)
{% endcontent-ref %}


---

# 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.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.
