> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryhelium.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Play Data Safety (Android)

> What to declare in your Play Console Data safety section when your app includes the Helium Android SDK.

Google Play requires every developer to declare how their app collects and handles user data, **including data handled by any third-party SDK they bundle**. This page tells you which boxes to tick in the Play Console **Data safety** section when your app includes the Helium Android SDK.

<Note>
  Google is explicit that the declaration is yours to make: "You alone are responsible for making complete and accurate declarations in your app's store listing on Google Play." This page covers the Helium SDK only. Your final declaration must also account for your own app's data collection and every other SDK you ship.
</Note>

## Data collection and security

Three questions gate the rest of the form.

### Does your app collect or share any of the required user data types?

Select **Yes**. Helium collects a device identifier, purchase history, and paywall interaction data.

### Is all of the user data collected by your app encrypted in transit?

Select **Yes** as far as Helium is concerned. All Helium network traffic uses HTTPS.

<Warning>
  Google only lets you select "Yes" if encryption in transit applies to **all** user data your app and every one of its SDKs transmits off the device. Confirm this holds across your whole app before selecting it.
</Warning>

### Do you provide a way for users to request that their data is deleted?

This one depends on your own support process, not on Helium. If you select **Yes**, make sure users have a route to reach you, such as an in-app link, a contact form, or a support email.

On the client, `Helium.resetHelium()` clears the locally persisted Helium identity and user traits. For deletion of data already sent to Helium, contact Helium support.

## Data types

<Info>
  ✅ Required when using Helium

  💡 May be required, depending on how you configure the SDK

  ❌ Not collected by Helium
</Info>

| Category                 | Data type                                                           | Required?                                                                                                                                                                                                                                                                                                           |
| ------------------------ | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Location                 | Approximate location, Precise location                              | ❌ Helium reads no location APIs and declares no location permission. It collects device locale, currency, and Play store country, which Google does not classify as location.                                                                                                                                       |
| Personal info            | User IDs                                                            | 💡 Only if you set `Helium.identity.userId`, `revenueCatAppUserId`, or `thirdPartyAnalyticsAnonymousId` to a value that relates to an identifiable person, such as your own account ID. If you set none of them, Helium falls back to its generated installation ID, which is covered by Device or other IDs below. |
| Personal info            | Name, Email address, Phone number, Address                          | 💡 Only if you put them into `HeliumUserTraits`, or if you use the optional Stripe module.                                                                                                                                                                                                                          |
| Financial info           | **Purchase history**                                                | ✅ Helium collects product IDs, Google Play order IDs and purchase tokens, purchase dates, quantity, and store country.                                                                                                                                                                                              |
| Financial info           | User payment info                                                   | 💡 Optional Stripe module only.                                                                                                                                                                                                                                                                                     |
| Financial info           | Credit score, Other financial info                                  | ❌                                                                                                                                                                                                                                                                                                                   |
| Health and fitness       | All types                                                           | ❌                                                                                                                                                                                                                                                                                                                   |
| Messages                 | All types                                                           | ❌                                                                                                                                                                                                                                                                                                                   |
| Photos and videos        | All types                                                           | ❌                                                                                                                                                                                                                                                                                                                   |
| Audio files              | All types                                                           | ❌                                                                                                                                                                                                                                                                                                                   |
| Files and docs           | Files and docs                                                      | ❌                                                                                                                                                                                                                                                                                                                   |
| Calendar                 | Calendar events                                                     | ❌                                                                                                                                                                                                                                                                                                                   |
| Contacts                 | Contacts                                                            | ❌                                                                                                                                                                                                                                                                                                                   |
| App activity             | **App interactions**                                                | ✅ Paywall opens, closes and dismissals, button presses, product selection, purchase flow steps, and experiment allocation.                                                                                                                                                                                          |
| App activity             | Other actions                                                       | 💡 Only if your paywalls emit custom actions carrying additional user activity.                                                                                                                                                                                                                                     |
| App activity             | In-app search history, Installed apps, Other user-generated content | ❌                                                                                                                                                                                                                                                                                                                   |
| Web browsing             | Web browsing history                                                | ❌ Paywalls render inside a WebView that loads Helium-controlled content. Helium does not read browsing history.                                                                                                                                                                                                     |
| App info and performance | **Diagnostics**                                                     | ✅ Paywall load and render timings, configuration download outcomes, retry counts, and error descriptions.                                                                                                                                                                                                           |
| App info and performance | Crash logs, Other app performance data                              | ❌ Helium bundles no crash reporter.                                                                                                                                                                                                                                                                                 |
| Device or other IDs      | **Device or other IDs**                                             | ✅ The Android ID (`Settings.Secure.ANDROID_ID`), plus Helium's own generated installation, session, and initialization IDs.                                                                                                                                                                                         |

<Tip>
  Helium declares more than a billing-only SDK would, because paywall interaction data is what powers experiments and optimization rather than being a side effect. The four bolded rows above are the ones you always need.
</Tip>

## Answering the per-data-type questions

For each data type you select, Google asks four follow-up questions. All four required Helium data types (Purchase history, App interactions, Diagnostics, and Device or other IDs) get the same answers. Any 💡 rows that apply to your setup generally follow the same pattern, though review the purposes for your own case.

### Is this data collected, shared, or both?

Select **Collected** if Helium processes this data solely on your behalf and under your instructions. That is Google's test for a service provider, and sharing does not apply.

Select **Collected** and **Shared**, and declare the purposes of that sharing, if either of the following is true:

* Helium uses your app's data for its own cross-customer optimization or experiment purposes rather than solely on your instructions.
* You forward Helium events to third parties that are not acting as your service providers.

<Warning>
  Google is explicit that "if an SDK provider is building advertising profiles across multiple customers based on your app data, that would not be considered 'service provider' activity." Confirm which of the above describes your contract and configuration before answering.
</Warning>

### Is this data processed ephemerally?

Select **No**. Helium retains this data to power paywall experimentation and reporting.

### Is this data required for your app, or can users choose whether it's collected?

Select **Data collection is required** by default. The Helium SDK does not expose a per-user opt-out, so once you initialize it, collection begins.

<Tip>
  You can declare this data **optional** instead if you gate `Helium.initialize()` behind your own consent prompt and only call it for users who agree. Google's bar is that all users, regardless of device or region, must be able to opt in or out.
</Tip>

<Note>
  A consent gate answers this Play Data safety question only. It does not by itself establish compliance with GDPR, CCPA, or other privacy regimes, which impose separate requirements such as having a lawful basis for processing, giving notice at collection, and handling consumer rights requests. Review the jurisdictions you operate in with privacy counsel.
</Note>

### Why is this user data collected?

Select **App functionality** and **Analytics**.

<Note>
  Also select **Personalization** if you use audience targeting or experiment rules that tailor which paywall a user sees based on traits you provide.
</Note>

## What Helium does not collect

Worth knowing, because it keeps several categories off your form entirely:

* **No advertising identifier.** Helium does not read the Google Advertising ID or App Set ID, and declares no `com.google.android.gms.permission.AD_ID` permission.
* **No location.** No location APIs, no location permissions.
* **No contacts, photos, videos, audio, files, calendar, or messages.**
* **No crash logs.** Helium bundles no crash reporting library.
* **No health or fitness data.**

The SDK contributes only these permissions to your merged manifest:

| Permission                                | Why                                                 |
| ----------------------------------------- | --------------------------------------------------- |
| `android.permission.INTERNET`             | Fetching paywall configuration and bundles          |
| `android.permission.ACCESS_NETWORK_STATE` | Detecting connectivity before network calls         |
| `com.android.vending.BILLING`             | Google Play Billing, for purchases and entitlements |

## Optional modules

Two Helium modules change your answers if you use them.

<Tabs>
  <Tab title="RevenueCat">
    The `revenue-cat` module sets Helium's persistent installation ID as the RevenueCat app user ID, and by default also as a `helium_hpid` subscriber attribute. You can turn the attribute off by constructing the delegate with `allowHeliumUserAttribute = false`.

    Using this module means RevenueCat's own data collection applies to your app as well. Refer to [RevenueCat's Data Safety guidance](https://www.revenuecat.com/docs/platform-resources/google-platform-resources/google-plays-data-safety) alongside this page.
  </Tab>
</Tabs>

## What's next

<CardGroup cols={2}>
  <Card title="Identifying Users" icon="android" href="/sdk/quickstart-android">
    How `Helium.identity.userId` and `HeliumUserTraits` work, which drive the conditional rows above
  </Card>

  <Card title="Google's Official Guidance" icon="shield-halved" href="https://support.google.com/googleplay/android-developer/answer/10787469">
    Play Console documentation for the Data safety section
  </Card>
</CardGroup>
