Skip to content

Add androidx.health.connect:connect-client 1.1.0 bindings#1327

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/update-xamarin-health-connect-client
Closed

Add androidx.health.connect:connect-client 1.1.0 bindings#1327
Copilot wants to merge 2 commits intomainfrom
copilot/update-xamarin-health-connect-client

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 8, 2025

Adds .NET bindings for Health Connect 1.1.0 stable release, enabling apps to read/write health and fitness records.

Changes

  • Added androidx.health.connect:connect-client 1.1.0 to config.json
  • Added required dependency androidx.health.connect:connect-client-proto 1.1.0 (marked dependencyOnly)

The binderator generates the binding project as Xamarin.AndroidX.Health.Connect.ConnectClient.

Package Details

Artifact Version NuGet ID
androidx.health.connect:connect-client 1.1.0 Xamarin.AndroidX.Health.Connect.ConnectClient
androidx.health.connect:connect-client-proto 1.1.0 Xamarin.AndroidX.Health.Connect.ConnectClientProto

Reference: https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0

Original prompt

This section details on the original issue you should resolve

<issue_title>Update "Xamarin.AndroidX.Health.Connect.ConnectClient" to "1.1.0"</issue_title>
<issue_description>### Description

Xamarin.AndroidX.Health.Connect.ConnectClient

https://www.nuget.org/packages/Xamarin.AndroidX.Health.Connect.ConnectClient/1.1.0-alpha07

Google
https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0
</issue_description>

Comments on the Issue (you are @copilot in this section)

@jonathanpeppers Can you describe what features of your app use this library? What makes it important?

There have been some other attempts to improve this package, which didn't work:

If others need this, please upvote with a "thumbs up" reaction, thanks!</comment_new>


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Xamarin.AndroidX.Health.Connect.ConnectClient to version 1.1.0 Add androidx.health.connect:connect-client 1.1.0 bindings Dec 8, 2025
Copilot AI requested a review from jonathanpeppers December 8, 2025 15:17
jonathanpeppers added a commit that referenced this pull request Dec 9, 2025
Adds .NET bindings for Health Connect 1.1.0 stable release, enabling apps to read/write health and fitness records.

## Changes

- Added `androidx.health.connect:connect-client` 1.1.0 to config.json
- Added `ndroidx.health.connect:connect-client-proto` 1.1.0 to config.json
- Added `androidx.health.connect-client-external-protobuf` 1.1.0 to config.json


## Package Details

| Artifact | Version | NuGet ID |
|----------|---------|----------|
| androidx.health.connect:connect-client | 1.1.0 | Xamarin.AndroidX.Health.Connect.ConnectClient |
| androidx.health.connect:connect-client-proto | 1.1.0 | Xamarin.AndroidX.Health.Connect.ConnectClientProto |
| androidx.health.connect-client-external-protobuf | 1.1.0 | Xamarin.AndroidX.Health.Connect.ConnectClientExternalProtobuf |

## Key Highlights to Emphasize:

  - Three packages successfully added - All build without errors
  - Followed existing patterns - Used the same approach as other protobuf packages (datastore, protolayout)
  - Proper technical solutions - Used Metadata.xml transforms and Additions files (not hacky workarounds)
  - Complete implementation - Updated config, bindings, and published namespaces
  - Well-tested - Both .NET 9 and .NET 10 target frameworks work

Reference: https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0

Fixes #1311
Closes #1327

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update "Xamarin.AndroidX.Health.Connect.ConnectClient" to "1.1.0"

2 participants