Data Attribution

Every data point in Google Fit has an associated data source. Data sources contain
information to identify the app or the device that collects or transforms the data. The package
name of the app is available for data sources that don't represent a physical sensor.

Google Fit enables you to:

Determine which app inserted fitness data.

Fire an intent to view fitness data with a specific app.

Receive intents to show fitness data using your app.

For example, an app that analyzes a variety of data from the user's fitness history may
want to present users with the list of fitness sessions included in the analysis, along with
information about which app inserted each session. When users tap on each session, the app
can fire an intent to show a detailed view of the session using a different app.

Note: Do not include the DEFAULT category in your intent filter, unless you want your app to
receive intents for data created by other apps.

Each intent that your app receives from Google Fit is of only one type, but you can filter for
multiple MIME types in a single intent filter. You should include all the data types that your
app supports in your intent filter, including custom data types.