Kebechet.Watchious.Health 0.3.1-preview.1

Prefix Reserved
This is a prerelease version of Kebechet.Watchious.Health.
dotnet add package Kebechet.Watchious.Health --version 0.3.1-preview.1
                    
NuGet\Install-Package Kebechet.Watchious.Health -Version 0.3.1-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kebechet.Watchious.Health" Version="0.3.1-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kebechet.Watchious.Health" Version="0.3.1-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="Kebechet.Watchious.Health" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kebechet.Watchious.Health --version 0.3.1-preview.1
                    
#r "nuget: Kebechet.Watchious.Health, 0.3.1-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kebechet.Watchious.Health@0.3.1-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kebechet.Watchious.Health&version=0.3.1-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Kebechet.Watchious.Health&version=0.3.1-preview.1&prerelease
                    
Install as a Cake Tool

Kebechet.Watchious.Health

Health for Watchious, a .NET MAUI alternative for Wear OS and watchOS, using the Blazor rendering engine. A watch app is written once in C# and Razor; Watchious renders it as native SwiftUI on Apple Watch and native Compose on Wear OS, and the app's C# runs on the watch itself.

⚠️ Status: preview. The API can still change from one version to the next.

What it is

What a watch app does with health data: permissions and live workouts with heart rate, with HealthKit on watchOS and Health Services on Wear OS. It has Kebechet.Maui.Health's service names (IHealthService, Activity.Start/Pause/Resume/End) and its types, from the MAUI-free Kebechet.Types.Health (WorkoutDto, HeartRateDto, ActivityType, WorkoutSession...), so a watch workout reaches a phone app that uses Maui.Health as the same type. A workout keeps running when the user leaves the app.

When an app needs it

When the watch app uses health data. The SDK doesn't add it: the app references it at the SDK's version, $(WatchiousVersion), and registers it:

<ItemGroup>
  <PackageReference Include="Kebechet.Watchious.Health" Version="$(WatchiousVersion)" />
</ItemGroup>

⚠️ With Central Package Management (a Directory.Packages.props), leave Version off and give Kebechet.Watchious.Health a PackageVersion there at the SDK's version, written out (a library project has no $(WatchiousVersion)). Nothing reports it left at an older version, so an update of the SDK changes it too.

using Watchious.Health;

builder.Services.AddWatchiousHealth();

Then a page or service injects IHealthService.

  • watchOS: the app needs the HealthKit entitlement (Platforms/watchOS/Entitlements.plist) and NSHealthShareUsageDescription and NSHealthUpdateUsageDescription in Platforms/watchOS/Info.plist. The SDK compiles the package's Swift (HealthKitWorkout.swift) into the app's SwiftUI host.
  • Wear OS: the package's Android library declares the permissions it needs, and asks for them itself.

License

Watchious is MIT-licensed. This package also contains, unchanged, Google's Health Services client library and its protos (Apache-2.0) and the protobuf runtime it repackages (BSD-3-Clause): THIRD-PARTY-NOTICES.txt in the package lists them, with their licenses.

More

"Phone messaging and health" in the Watchious README.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.1-preview.1 0 11/28/2026
0.3.0-preview.1 0 11/28/2026
0.2.0-preview.1 0 11/27/2026
0.1.0-preview.1 32 11/27/2026