Kebechet.Maui.Health 7.0.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Kebechet.Maui.Health --version 7.0.2
                    
NuGet\Install-Package Kebechet.Maui.Health -Version 7.0.2
                    
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.Maui.Health" Version="7.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kebechet.Maui.Health" Version="7.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Kebechet.Maui.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.Maui.Health --version 7.0.2
                    
#r "nuget: Kebechet.Maui.Health, 7.0.2"
                    
#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.Maui.Health@7.0.2
                    
#: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.Maui.Health&version=7.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Kebechet.Maui.Health&version=7.0.2
                    
Install as a Cake Tool

"Buy Me A Coffee"

Maui.Health

NuGet Version NuGet Downloads Last updated (main) Twitter

Abstraction around Android Health Connect and iOS HealthKit with unified API

Feel free to contribute ❤️

Features

  • Cross-Platform: Works with Android Health Connect and iOS HealthKit
  • Generic API: Use GetHealthDataAsync<TDto>() for type-safe health data retrieval
  • Unified DTOs: Platform-agnostic data transfer objects with common properties
  • Time Range Support: Duration-based metrics implement IHealthTimeRange interface
  • Write/delete: Possibility to write/delete any health record or activity to/from Android Health/iOS HealthKit
  • Aggregate: Platform-native aggregation (sum, average) with cross-source deduplication
  • Aggregate by interval: Bucketed aggregation (daily, hourly) using native APIs
  • Differential sync: Track changes (upserts/deletions) since a token for efficient data synchronization
  • Duplication detection: If you write activity under your app to the ios/android health and at same time you start activity on watch/phone natively. You have possibility to detect these workouts and synchronize it as you need.

Platform Support & Health Data Mapping

Health Data Type Android Health Connect iOS HealthKit Wrapper Implementation
Steps ✅ StepsRecord ✅ StepCount ✅ StepsDto
Weight ✅ WeightRecord ✅ BodyMass ✅ WeightDto
Height ✅ HeightRecord ✅ Height ✅ HeightDto
Heart Rate ✅ HeartRateRecord ✅ HeartRate ✅ HeartRateDto
Active Calories ✅ ActiveCaloriesBurnedRecord ✅ ActiveEnergyBurned ✅ ActiveCaloriesBurnedDto
Exercise Session ✅ ExerciseSessionRecord ✅ Workout ✅ WorkoutDto
Blood Glucose ✅ BloodGlucoseRecord ✅ BloodGlucose ❌ N/A
Body Temperature ✅ BodyTemperatureRecord ✅ BodyTemperature ❌ N/A
Oxygen Saturation ✅ OxygenSaturationRecord ✅ OxygenSaturation ❌ N/A
Respiratory Rate ✅ RespiratoryRateRecord ✅ RespiratoryRate ❌ N/A
Basal Metabolic Rate ✅ BasalMetabolicRateRecord ✅ BasalEnergyBurned ❌ N/A
Body Fat ✅ BodyFatRecord ✅ BodyFatPercentage ✅ BodyFatDto
Lean Body Mass ✅ LeanBodyMassRecord ✅ LeanBodyMass ❌ N/A
Hydration ✅ HydrationRecord ✅ DietaryWater ❌ N/A
VO2 Max ✅ Vo2MaxRecord ✅ VO2Max ✅ Vo2MaxDto
Resting Heart Rate ✅ RestingHeartRateRecord ✅ RestingHeartRate ❌ N/A
Heart Rate Variability ✅ HeartRateVariabilityRmssdRecord ✅ HeartRateVariabilitySdnn ❌ N/A
Blood Pressure ✅ BloodPressureRecord ✅ Split into Systolic/Diastolic 🚧 WIP (commented out)

Kebechet.Types.Health

The DTOs, enums and result types (WorkoutDto, HeartRateDto, ActivityType, WorkoutSession...) also ship without MAUI, in Kebechet.Types.Health. Reference it from code that your MAUI app shares with an app that isn't one, such as a watch app or a backend. A MAUI app doesn't need it directly, because Kebechet.Maui.Health references it. The types live in the Kebechet.Types.Health.* namespaces (Kebechet.Types.Health.Models, .Enums...).

Usage

1. Registration

Register the health service in your MauiProgram.cs:

builder.Services.AddHealth();

Then setup all Android and iOS necessities.

  • Android (4) docs, docs2
    • in Google Play console give Health permissions to the app
    • for successful app approval your Policy page must contain Health data collection and use, Data retention policy
    • change of AndroidManifest.xml + new activity showing privacy policy
    • add <queries> element to AndroidManifest.xml (inside <manifest>, outside <application>):
      <queries>
          <package android:name="com.google.android.apps.healthdata" />
      </queries>
      
      This is required on Android 11–13 due to package visibility filtering. Without it, getSdkStatus() cannot detect Health Connect even when it's installed, causing permission requests to silently fail. On Android 14+ Health Connect is a system service so this isn't strictly needed, but it does no harm.
    • change of min. Android version to v26
    • reading while the app is not in the foreground needs one more permission, which this library deliberately does not declare — permissions are the consuming app's to own, and Google Play holds the app accountable for them:
      <uses-permission android:name="android.permission.health.READ_HEALTH_DATA_IN_BACKGROUND"/>
      
      Declaring it is not enough on its own: Health Connect permissions are granted at runtime, so also pass canRequestBackgroundReadPermission: true to RequestPermissions. The request is skipped automatically on devices whose Health Connect version does not support the feature. Without both halves, Health Connect refuses a read or aggregate that lands after the app leaves the foreground, and the library returns a failed result with Error = ReadHealthDataError.BackgroundReadNotPermitted; retry once the app is in the foreground. See background reads.
  • iOS (3) docs, docs2
    • generating new provisioning profile containing HealthKit permissions. These permissions are changed in Identifiers
    • adding Entitlements.plist
    • adjustment of Info.plist
      • ⚠️ Beware, if your app already exists and targets various devices adding UIRequiredDeviceCapabilities with healthkit can get your release rejected. For that reason I ommited adding this requirement and I just make sure that I check if the device is capable of using healthkit.

After you have everything setup correctly you can use IHealthService from DI container and call it's methods. If you want an example there is a DemoApp project showing number of steps for Current day

2. Basic Usage

public class HealthExampleService
{
    private readonly IHealthService _healthService;

    public HealthExampleService(IHealthService healthService)
    {
        _healthService = healthService;
    }

    public async Task<List<StepsDto>> GetTodaysStepsAsync()
    {
        if (!_healthService.IsSupported)
        {
            return [];
        }

        var timeRange = HealthTimeRange.FromDateTime(DateTime.Today, DateTime.Now);

        return await _healthService.GetHealthData<StepsDto>(timeRange);
    }
}

3. Working with Time Ranges

Duration-based metrics implement IHealthTimeRange:

public async Task AnalyzeStepsData()
{
    var timeRange = HealthTimeRange.FromDateTime(DateTime.Today, DateTime.Now);
    var steps = await _healthService.GetHealthData<StepsDto>(timeRange);
    
    foreach (var stepRecord in steps)
    {
        // Common properties from BaseHealthMetricDto
        Console.WriteLine($"ID: {stepRecord.Id}");
        // DataOrigin is the stable bundle identifier (iOS) or package name (Android), or null
        // when the platform exposes no source metadata. Safe to compare against your own
        // bundle/package identifier to check ownership.
        Console.WriteLine($"Source: {stepRecord.DataOrigin ?? "<unknown>"}");
        Console.WriteLine($"Recorded: {stepRecord.Timestamp}");
        
        // Steps-specific data
        Console.WriteLine($"Steps: {stepRecord.Count}");
        
        // Time range data (IHealthTimeRange)
        Console.WriteLine($"Period: {stepRecord.StartTime} to {stepRecord.EndTime}");
        Console.WriteLine($"Duration: {stepRecord.Duration}");
        
        // Type-safe duration checking
        if (stepRecord is IHealthTimeRange timeRange)
        {
            Console.WriteLine($"This measurement lasted {timeRange.Duration.TotalMinutes} minutes");
        }
    }
}

4. Read Single Record

Fetch a specific health record by its platform-specific ID (Android: Health Connect metadata ID, iOS: HealthKit UUID):

public async Task<StepsDto?> GetSpecificRecord(string recordId)
{
    return await _healthService.GetHealthRecord<StepsDto>(recordId);
}

Note: This API is marked [Experimental("MH001")]. Suppress the warning with #pragma warning disable MH001.

5. Delete Health Records

Delete any health record by its platform-specific ID. You can only delete records created by your application:

public async Task DeleteRecord(string recordId)
{
    var isDeleted = await _healthService.DeleteHealthData<StepsDto>(recordId);

    if (isDeleted)
    {
        Console.WriteLine("Record deleted successfully");
    }
}

Note: This API is marked [Experimental("MH002")]. Suppress the warning with #pragma warning disable MH002.

6. Aggregated Health Data

Get deduplicated totals or averages using platform-native aggregation. This uses Android's aggregate() API and iOS's HKStatisticsQuery, which properly handle data from multiple health apps (e.g., Samsung Health + Google Fit):

public async Task ShowTodaysSummary()
{
    var todayRange = HealthTimeRange.FromDateTime(DateTime.Today, DateTime.Now);

    // Cumulative types (steps, calories) return a sum
    var steps = await _healthService.GetAggregatedHealthData<StepsDto>(todayRange);
    if (steps is not null)
    {
        Console.WriteLine($"Total steps today: {steps.Value}");
    }

    // Discrete types (weight, heart rate) return an average
    var weight = await _healthService.GetAggregatedHealthData<WeightDto>(todayRange);
    if (weight is not null)
    {
        Console.WriteLine($"Average weight: {weight.Value} {weight.Unit}");
    }
}

Note: This API is marked [Experimental("MH003")]. Suppress the warning with #pragma warning disable MH003.

By default an aggregated read first requests its read permission, which opens the permission screen when it is missing. A read nobody asked for, such as an automatic sync, passes shouldCheckPermissions: false: a missing permission then fails the read instead of showing UI. The same parameter exists on GetAggregatedHealthDataByInterval and GetAggregatedHealthDataByCalendarPeriod.

7. Aggregated Health Data by Interval

Get aggregated data bucketed by time intervals - ideal for charts and day-by-day views. Uses Android's aggregateGroupByDuration() and iOS's HKStatisticsCollectionQuery:

public async Task ShowWeeklySteps()
{
    var weekRange = HealthTimeRange.FromDateTime(
        DateTime.Today.AddDays(-6), DateTime.Now);

    var dailySteps = await _healthService.GetAggregatedHealthDataByInterval<StepsDto>(
        weekRange, TimeSpan.FromDays(1));

    foreach (var bucket in dailySteps)
    {
        Console.WriteLine($"{bucket.StartTime:ddd MMM dd}: {bucket.Value:N0} steps");
    }
}

Note: This API is marked [Experimental("MH004")]. Suppress the warning with #pragma warning disable MH004.

8. Differential Sync (Change Tracking)

Track changes (upserts and deletions) to health data since a given point in time. Uses Android's getChangesToken()/getChanges() and iOS's HKAnchoredObjectQuery. Tokens expire after 30 days.

public class HealthSyncService
{
    private readonly IHealthService _healthService;
    private string? _syncToken;

    // Call once to establish a baseline - captures the current state
    public async Task InitializeSync()
    {
        var dataTypes = new List<HealthDataType>
        {
            HealthDataType.Steps,
            HealthDataType.Weight,
            HealthDataType.ActiveCaloriesBurned
        };

        _syncToken = await _healthService.GetChangesToken(dataTypes);
        // Store _syncToken persistently (e.g., Preferences, database)
    }

    // Call periodically to get new changes since last sync
    public async Task SyncChanges()
    {
        if (_syncToken is null) return;

        var result = await _healthService.GetChanges(_syncToken);
        if (result is null) return;

        foreach (var change in result.Changes)
        {
            Console.WriteLine($"{change.Type}: {change.RecordId}");
        }

        // Update token for next call
        _syncToken = result.NextToken;

        // If more changes available, keep fetching
        if (result.HasMore)
        {
            await SyncChanges();
        }
    }
}

Note: These APIs are marked [Experimental("MH005")] and [Experimental("MH006")]. Suppress with #pragma warning disable MH005, MH006.

9. Permission Handling

public async Task RequestPermissions()
{
    var permissions = new List<HealthPermissionDto>
    {
        new() { HealthDataType = HealthDataType.Steps, PermissionType = PermissionType.Read },
        new() { HealthDataType = HealthDataType.Weight, PermissionType = PermissionType.Read },
        new() { HealthDataType = HealthDataType.Height, PermissionType = PermissionType.Read }
    };

    var result = await _healthService.RequestPermissions(permissions);

    if (result.IsSuccess)
    {
        Console.WriteLine("Permissions granted!");
    }
    else
    {
        Console.WriteLine($"Permission error: {result.Error}");
    }
}

The result reports every requested permission once the user has answered, so no second call is needed to see what was granted:

  • PermissionStatuses: the status of each requested read and write. On iOS every read is Undisclosed: Apple never tells whether read access was granted, and a refused read returns no data.
  • DeniedPermissions: the requested data-type permissions that are still not granted. Only these fail the request.
  • FullHistoryReadStatus / BackgroundReadStatus (Android): Health Connect asks for past-data and background access on a screen of its own. Refusing them does not fail the request; they are reported here instead.
  • IsPermissionScreenShown: whether the platform showed its permission screen at all. Android shows the screen for a permission at most twice and iOS asks for each type once. Neither says which permissions its screen skipped, so a permission still denied may have been refused just now or may no longer be asked for. When the user wanted it, offer the platform's settings either way:
var result = await _healthService.RequestPermissions(permissions);
if (result.DeniedPermissions.Any())
{
    // Explain why, then open Health Connect's settings, where the user opens "App permissions" (Android).
    _healthService.OpenPermissionSettings();
}

GetPermissionStatuses reads the same statuses without showing anything and never throws: when the platform cannot answer (Health Connect unavailable, no current activity, a platform error) every permission comes back Unavailable.

Permission requests run one after another, so two parts of an app asking at the same time get one screen, not two. The cancellation token stops the waiting and returns RequestPermissionError.Cancelled; a screen already showing cannot be withdrawn, so it stays until the user answers, and the next request waits for that.

Handling Health Connect Updates (Android)

On Android devices with API < 34, Health Connect is a separate app that may need to be installed or updated. The library returns a specific error so you can show custom UI before opening the Play Store:

public async Task RequestPermissionsWithUpdateHandling()
{
    var permissions = new List<HealthPermissionDto>
    {
        new() { HealthDataType = HealthDataType.Steps, PermissionType = PermissionType.Read }
    };

    var result = await _healthService.RequestPermissions(permissions);

    if (result.Error == RequestPermissionError.SdkUnavailableProviderUpdateRequired)
    {
        // Show your custom UI explaining the update requirement
        bool userConfirmed = await DisplayAlert(
            "Update Required",
            "Health Connect needs to be updated to use health features.",
            "Update", "Cancel");

        if (userConfirmed)
        {
            _healthService.OpenStorePageOfHealthProvider(); // Opens Play Store
        }
    }
}

10. Workout Management (IHealthWorkoutService)

The Activity property on IHealthService provides workout/exercise session management (IHealthWorkoutService) with support for real-time tracking, pause/resume functionality, and duplicate detection.

Reading Workouts
public async Task<List<WorkoutDto>> GetTodaysWorkouts()
{
    var timeRange = HealthTimeRange.FromDateTime(DateTime.Today, DateTime.Now);
    var workouts = await _healthService.Activity.Read(timeRange);

    foreach (var workout in workouts)
    {
        Console.WriteLine($"{workout.ActivityType}: {workout.StartTime:HH:mm} - {workout.EndTime:HH:mm}");
        Console.WriteLine($"Duration: {workout.DurationSeconds / 60} minutes");
        Console.WriteLine($"Source: {workout.DataOrigin ?? "<unknown>"}");

        if (workout.EnergyBurned.HasValue)
            Console.WriteLine($"Calories: {workout.EnergyBurned:F0} kcal");
        if (workout.AverageHeartRate.HasValue)
            Console.WriteLine($"Avg HR: {workout.AverageHeartRate:F0} BPM");
    }

    return workouts;
}
Writing Workouts
public async Task WriteCompletedWorkout()
{
    var workout = new WorkoutDto
    {
        Id = Guid.NewGuid().ToString(),
        DataOrigin = "com.companyname.MyApp", // Stable bundle identifier (iOS) / package name (Android). Ignored on write — platform stamps its own source.
        ActivityType = ActivityType.Running,
        Title = "Morning Run",
        StartTime = DateTimeOffset.Now.AddMinutes(-30),
        EndTime = DateTimeOffset.Now,
        EnergyBurned = 250,
        Distance = 5000 // meters
    };

    await _healthService.Activity.Write(workout);
}
Live Workout Session (Start/Pause/Resume/End)

Track workouts in real-time with pause/resume support:

public class WorkoutTracker
{
    private readonly IHealthService _healthService;

    // Start a new workout session
    public async Task StartWorkout()
    {
        await _healthService.Activity.Start(
            ActivityType.Running,
            title: "Morning Run"
        );
    }

    // Pause the active session
    public async Task PauseWorkout()
    {
        await _healthService.Activity.Pause();
    }

    // Resume from pause
    public async Task ResumeWorkout()
    {
        await _healthService.Activity.Resume();
    }

    // End session and save to health store
    public async Task<WorkoutDto?> EndWorkout()
    {
        // Returns the completed workout saved to Health Connect/HealthKit
        return await _healthService.Activity.End();
    }

    // Check session status
    public async Task<bool> IsWorkoutRunning() => await _healthService.Activity.IsRunning();
    public async Task<bool> IsWorkoutPaused() => await _healthService.Activity.IsPaused();
}
Duplicate Detection

When users track workouts from both your app and a smartwatch, duplicates can occur. The FindDuplicates method identifies these by matching:

  • Same activity type
  • Different data sources (e.g., "MyApp" vs "Apple Watch")
  • Start/end times within a configurable threshold
public async Task DetectDuplicateWorkouts()
{
    var timeRange = HealthTimeRange.FromDateTime(DateTime.Today, DateTime.Now);
    var workouts = await _healthService.Activity.Read(timeRange);

    // Find duplicates with 5-minute threshold
    var duplicates = _healthService.Activity.FindDuplicates(
        workouts,
        dataOrigin: "com.companyname.MyApp",  // Your app's bundle identifier (iOS) / package name (Android)
        timeThresholdMinutes: 5               // Max time difference to consider as duplicate
    );

    foreach (var group in duplicates)
    {
        // Get the workout from your app
        var appWorkout = group.AppWorkout;

        // Get the workout from watch/other source
        var externalWorkout = group.ExternalWorkout;

        Console.WriteLine($"Duplicate found:");
        Console.WriteLine($"  App: {appWorkout?.DataOrigin} at {appWorkout?.StartTime:HH:mm}");
        Console.WriteLine($"  External: {externalWorkout?.DataOrigin} at {externalWorkout?.StartTime:HH:mm}");
        Console.WriteLine($"  Time diff: {group.StartTimeDifferenceMinutes:F1} minutes");

        // User can decide which to keep - typically keep the watch data
        // as it has more accurate heart rate and calorie data
        if (appWorkout != null)
        {
            await _healthService.Activity.Delete(appWorkout);
        }
    }
}

Migrations

Upgrading to a new major version? Every migration has a guide of its own:

Testing Tips

iOS Simulator/Device:

  • If no health data exists, open the Health app
  • Navigate to the desired metric (e.g., Steps)
  • Tap "Add Data" in the top-right corner
  • Manually add test data for development

Android Emulator:

  • Install Google Health Connect app
  • Add sample health data for testing
  • Ensure proper permissions are granted

Credits

  • @aritchie - https://github.com/shinyorg/Health
  • @0xc3u - https://github.com/0xc3u/Plugin.Maui.Health
  • @EagleDelux - https://github.com/EagleDelux/androidx.health-connect-demo-.net-maui
  • @b099l3 - https://github.com/b099l3/ios-samples/tree/65a4ab1606cfd8beb518731075e4af526c4da4ad/ios8/Fit/Fit

Other Sources

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-windows10.0.19041 is compatible. 
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
7.0.3 0 12/4/2026
7.0.2 104 11/27/2026
7.0.1 99 11/27/2026
7.0.0 98 11/27/2026
6.0.0 94 11/21/2026
5.1.0 161 10/29/2026
5.0.0 163 9/11/2026
4.0.0 380 6/10/2026
4.0.0-preview.10 203 5/13/2026
4.0.0-preview.9 243 5/9/2026
4.0.0-preview.8 109 5/4/2026
4.0.0-preview.7 100 4/26/2026
4.0.0-preview.6 100 4/21/2026
4.0.0-preview.5 98 4/20/2026
4.0.0-preview.4 91 4/19/2026
4.0.0-preview.3 100 4/17/2026
4.0.0-preview.2 126 4/8/2026
4.0.0-preview.1 109 4/3/2026
3.1.0-preview.2 103 4/3/2026
3.1.0-preview.1 98 3/27/2026
Loading failed

v7.0.2 — fixes a crash in 7.0.1; do not use 7.0.1.

FIXED
• Android (#67): 7.0.1 could abort the app with "use of deleted global reference" when Health Connect reads ran at the same time; seen on Android 13 and older.

PREVIOUS RELEASE — v7.0.1: permission requests work on Android 13 and older, and energy and weight units are right.

FIXED
• Android 13 and older (#65): RequestPermissions opened no permission screen while nothing was granted yet, and a by-interval aggregate returned no buckets.
• Android (#66): grouped energy aggregates were 1000 times too small (350 kcal read as 0.35); on Android 13 and older energy records and weight were too.

OLDER RELEASE — v7.0.0: permission requests report every permission, and aggregated reads can skip the permission screen.

BREAKING CHANGES
• Aggregated reads (#63): GetAggregatedHealthData, ByInterval and ByCalendarPeriod take shouldCheckPermissions before the CancellationToken; pass a token by name.
• DeniedPermissions (#63): RequestPermissionResult lists HealthPermissionDto instead of platform permission strings.
• HealthPermissionStatus (#63): iOS reads are Undisclosed and unreadable statuses are Unavailable; NotDetermined now means an unasked iOS write only.
• Android (#63): refused full-history or background access no longer fails RequestPermissions; see FullHistoryReadStatus and BackgroundReadStatus.
• RequestPermissions (#63): an exception is reported as RequestPermissionError.UnexpectedException.
• Cancellation (#63): a cancelled RequestPermissions returns RequestPermissionError.Cancelled instead of throwing; a screen already showing stays until answered.
• Reads and writes (#63): one cancelled while waiting for its permission request reports Cancelled; writes and updates report PermissionDenied only for a refusal.
• Reads (#63): a read or aggregate on a device without the health platform reports ReadHealthDataError.SdkUnavailable, not only an exception.
• PermissionType (#63): Read is 1 and Write 2, so the flags combine; stored numbers change, and a write-only permission no longer asks for read access too.
• HealthPermissionDto (#63): a PermissionType with neither Read nor Write set throws instead of requesting nothing.
• Statuses (#63): every platform reports one status per read and per write, also when Unavailable.
• RequestPermissionResult (#63): its properties are init-only; DeniedPermissions was settable.
• Windows and Mac Catalyst (#63): RequestPermissions returns SdkUnavailable instead of success.

NEW
• shouldCheckPermissions (#63): false on aggregated reads fails a read with a missing permission instead of opening the permission screen, on iOS too.
• ReadHealthDataError.PermissionDenied (#63): Android reads report a missing read permission as a typed error.
• PermissionStatuses (#63): RequestPermissionResult reports every requested permission, so no GetPermissionStatuses call is needed after a request.
• IsPermissionScreenShown (#63): tells whether the platform showed its permission screen at all.
• OpenPermissionSettings (#63): opens Health Connect's settings, where the user manages the app's permissions (Android).

FIXED
• Android (#63): parallel permission requests run one after another instead of leaving invisible activities that swallow every tap.
• Android (#63): a permission request whose activity is recreated under the permission screen waits for the user, then reads the grants back.
• Android (#63): full-history access is requested only where Health Connect supports it.
• Android (#63): data types and the extra access are requested apart, so an extra refused twice no longer hides the data-type screen.
• GetPermissionStatuses (#63): never throws; without a current activity or Health Connect it reports Unavailable.
• Android workouts (#63): reads and writes no longer need a current activity.

PREVIOUS RELEASE — v6.0.0: the health data types move to Kebechet.Types.Health, a package without MAUI, under its own namespaces.

BREAKING CHANGES
• Namespaces (#62): DTOs, enums, results and their helpers are now in Kebechet.Types.Health.* — replace using Maui.Health.Models with using Kebechet.Types.Health.Models (same for .Enums, .Extensions, .Constants).

NEW
• Kebechet.Types.Health (#62): the DTOs, enums and results as a plain .NET package, for code shared with a watch app or a backend.
• HealthDataSdk.GoogleHealthServices (#62): marks workouts recorded on a Wear OS watch with Health Services.

CHANGED
• WorkoutSession (#62): its constructor and the DTO-to-permission helpers are public, so other health libraries can use them.