Review how your app may collect and share user data

As described in the Help Center article about how to provide app privacy and security information for Google Play's safety section, the Play Console will soon be adding a section to the App content page. In this new section, called App data safety, you'll explain to users which types of data your app can collect and share. This information helps promote data transparency and user trust.

To help you prepare for filling out this section, this guide provides examples of places in your app's code where your app may collect different types of data. In particular, it provides examples of permission declarations and API calls that your app may use to collect or share a particular type of data, which would require you to declare that collection or sharing in the App data safety section.

The details in this guidance are subject to change as we continue working with developers and to improve both developer and user experiences. For more information, consult the timeline in this blog post.

Location

The following section presents examples of app behavior where your app, or a library included in your app, may collect or share data related to location.

Approximate location

Declares the ACCESS_COARSE_LOCATION permission and doesn't declare the ACCESS_FINE_LOCATION permission.

Precise location

Declares the ACCESS_FINE_LOCATION permission.

Personal information

Your app, or a library included in your app, may collect or share data related to personal information if it does any of the following:

The following sections present other examples of app behavior where your app may collect or share specific subtypes of data related to personal information.

Email address

Your app, or a library included in your app, does any of the following:

Phone number

Your app, or a library included in your app, does any of the following:

Financial information

Check the types of information collected in your app, or a library included in your app, using the autofill framework. In these and similar cases, your app may collect or share data related to financial information.

Health & fitness

The following list presents examples of app behavior where your app, or a library included in your app, may collect or share data related to health and fitness:

Photos or videos

The following list presents examples of app behavior where your app, or a library included in your app, may collect or share data related to photos or videos:

Audio files

The following list presents examples of app behavior where your app, or a library included in your app, may collect or share data related to audio:

Storage

The following list presents examples of app behavior where your app, or a library included in your app, may collect or share data related to storage:

Emails or text messages

The following sections present examples of app behavior where your app, or a library included in your app, may collect or share data related to emails or text messages.

Emails

Prompts the user to view the contents of their email messages.

SMS text messages

Declares at least one of the following permissions:

Calendar

Check whether your app, or a library included in your app, declares at least one of the following permissions:

In these and similar cases, your app may collect or share data related to calendar events.

Contacts

Check whether your app, or a library included in your app, declares any of the following permissions:

In these and similar cases, your app may collect or share data related to a user's contacts.

Installed apps

Check whether your app, or a library included in your app, calls getInstalledApplications() or similar methods. In these and similar cases, your app may collect or share data related to apps on a user's device.

App performance

The following section presents examples of app behavior where your app, or a library included in your app, may collect or share data related to app performance.

Crash logs

Uses APIs such as ApplicationExitInfo.

Performance diagnostics

Uses APIs such as StrictMode.