Plugin.Maui.AppUpdate 1.0.0

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

Plugin.Maui.AppUpdate

A cross-platform in-app update framework for .NET MAUI on Android and iOS.

var update = await appUpdate.CheckAsync();

if (update.IsAvailable)
{
    await appUpdate.StartAsync();
}
Remote policy (optional)
        ↓
Store check
  Android → Google Play In-App Update
  iOS     → App Store version lookup
        ↓
Mandatory / Recommended / Maintenance
        ↓
Start  or  Postpone

Install

dotnet add package Plugin.Maui.AppUpdate

Target frameworks: net10.0, net10.0-android, net10.0-ios.

Quick start

using Plugin.Maui.AppUpdate;

builder
    .UseMauiApp<App>()
    .UseMauiAppUpdate(options =>
    {
        options.PolicyUri = new Uri("https://cdn.example.com/app-update.json");
    });

Resolve IAppUpdate from dependency injection, or use AppUpdate.Current.

var update = await appUpdate.CheckAsync();

if (update.IsMaintenance)
{
    // show update.Maintenance.Message and stop
    return;
}

if (update.IsAvailable)
{
    await appUpdate.StartAsync();
}

On Android, StartAsync launches a Google Play immediate or flexible update when the app was installed from Play. On iOS, it opens the App Store listing.

What you get

Capability How
Google Play In-App Update Immediate (blocking) and flexible (background) flows via Play Core.
App Store version check iTunes lookup by bundle id; StartAsync opens the listing.
Mandatory update Policy priority: mandatory, Play priority ≥ 4, or below the minimum version.
Recommended update Default for a newer store/policy version the user may skip.
Minimum supported version Installed version below minimumSupportedVersion is always mandatory.
Release notes From the policy document, or the App Store lookup.
Maintenance mode Policy window with a message; StartAsync does not open the store.
Update postponement PostponeAsync hides a recommended update for N days (default 3, max 2 times).
Resume Android resumes an interrupted immediate update and surfaces a downloaded flexible update.

Remote policy

Host a JSON document on any HTTPS CDN or API:

{
  "latestVersion": "2.4.0",
  "minimumSupportedVersion": "2.0.0",
  "priority": "recommended",
  "releaseNotes": "Fixes a crash on login.",
  "androidStoreUrl": "https://play.google.com/store/apps/details?id=com.example.app",
  "iosStoreUrl": "https://apps.apple.com/app/id1234567890",
  "postponeDays": 3,
  "maxPostponements": 2,
  "maintenance": {
    "enabled": false,
    "message": "Scheduled maintenance until 18:00 UTC.",
    "startsAt": "2026-08-28T16:00:00Z",
    "endsAt": "2026-08-28T18:00:00Z"
  }
}

priority accepts mandatory, recommended, or none.

options.PolicyUri = new Uri("https://cdn.example.com/app-update.json");
options.ConfigureRequest = request =>
{
    request.Headers.Authorization =
        new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", token);
};

Use LocalPolicy or StaticAppUpdatePolicyProvider when you do not have a remote file yet.

Check result

var update = await appUpdate.CheckAsync();

update.IsAvailable;              // prompt now (not postponed)
update.HasUpdate;                // store/policy knows a newer version
update.IsMandatory;
update.IsRecommended;
update.IsMaintenance;
update.CanPostpone;
update.CurrentVersion;
update.LatestVersion;
update.MinimumSupportedVersion;
update.ReleaseNotes;
update.StoreUrl;
update.Flow;                     // Immediate, Flexible, or Store
if (update.CanPostpone)
{
    await appUpdate.PostponeAsync(TimeSpan.FromDays(3));
}

if (update.InstallStatus == AppUpdateInstallStatus.Downloaded)
{
    await appUpdate.CompleteFlexibleUpdateAsync();
}

Platform notes

Android iOS net10.0
Check / policy / postpone / maintenance Yes Yes Yes (tests)
In-app install Play immediate / flexible No (opens App Store) No
Store fallback URL Play Store listing App Store listing Optional URL
Resume pending update OnResume n/a n/a

Play In-App Updates only appear for builds installed from Google Play (internal app sharing or a track). Sideloaded and emulator builds fall back to the public listing when OpenStoreWhenPlayUnavailable is true.

iOS looks up https://itunes.apple.com/lookup?bundleId=.... Set CountryCode if the app is not in the US store.

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Sample

samples/Plugin.Maui.AppUpdate.Sample drives recommended, mandatory, minimum-version, maintenance, and postpone scenarios against a demo store client.

dotnet build src/Plugin.Maui.AppUpdate/Plugin.Maui.AppUpdate.csproj
dotnet pack src/Plugin.Maui.AppUpdate/Plugin.Maui.AppUpdate.csproj -c Release -o artifacts
dotnet test tests/Plugin.Maui.AppUpdate.Tests/Plugin.Maui.AppUpdate.Tests.csproj
dotnet build samples/Plugin.Maui.AppUpdate.Sample/Plugin.Maui.AppUpdate.Sample.csproj -f net10.0-android

Pack from source

dotnet pack src/Plugin.Maui.AppUpdate/Plugin.Maui.AppUpdate.csproj -c Release -o artifacts

The .nupkg is written to artifacts/Plugin.Maui.AppUpdate.1.0.0.nupkg.

License

MIT

Support

If this plugin saved you a weekend of native plumbing, consider buying me a coffee. Your support keeps it maintained, documented, and free.

Buy Me A Coffee

This library stays open source. A coffee helps cover time for bug fixes, new features, and docs.

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-ios26.0 is compatible.  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
1.0.5 0 8/30/2026
1.0.4 0 8/30/2026
1.0.3 42 8/28/2026
1.0.2 39 8/28/2026
1.0.1 52 8/28/2026
1.0.0 46 8/28/2026

Initial release. MAUI in-app updates for Android (Google Play) and iOS (App Store): CheckAsync / StartAsync, mandatory and recommended updates, maintenance mode, minimum supported version, release notes, and postponement.