Oscore.Maui.Android.InAppUpdates 0.0.0-dev

Prefix Reserved
This is a prerelease version of Oscore.Maui.Android.InAppUpdates.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Oscore.Maui.Android.InAppUpdates --version 0.0.0-dev                
NuGet\Install-Package Oscore.Maui.Android.InAppUpdates -Version 0.0.0-dev                
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="Oscore.Maui.Android.InAppUpdates" Version="0.0.0-dev" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Oscore.Maui.Android.InAppUpdates --version 0.0.0-dev                
#r "nuget: Oscore.Maui.Android.InAppUpdates, 0.0.0-dev"                
#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.
// Install Oscore.Maui.Android.InAppUpdates as a Cake Addin
#addin nuget:?package=Oscore.Maui.Android.InAppUpdates&version=0.0.0-dev&prerelease

// Install Oscore.Maui.Android.InAppUpdates as a Cake Tool
#tool nuget:?package=Oscore.Maui.Android.InAppUpdates&version=0.0.0-dev&prerelease                

Maui.Android.InAppUpdates

Nuget package CI/CD License: MIT

NuGet package that implementing Android In-App Updates for MAUI with debugging capabilities. Flexible

Usage

  • Add NuGet package to your project:
<PackageReference Include="Oscore.Maui.Android.InAppUpdates" Version="1.2.0" />
  • Add the following to your MauiProgram.cs CreateMauiApp method:
builder
    .UseMauiApp<App>()
+   .UseAndroidInAppUpdates()
    .ConfigureFonts(fonts =>
    {
        fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
        fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
    });

Notes

The default behavior:

  • If priority 1-3 is specified, flexible update will be offered
  • If priority 4-5 is specified, immediate update will be offered

There is no need to specify conditional compilation here, the package provides an empty method for non netx.0-android platforms as a stub to make integration as simple as possible.
It will display a window when starting an application or resume according to the official guides.
You cannot see the popup dialog while developing or if you distribute it manually. As you can see here, you have to download the app from the Play Store to see the popup. I recommend using Android Play Store's “Internal App Sharing” feature to test.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android35.0 is compatible.  net9.0-ios18.0 is compatible.  net9.0-maccatalyst18.0 is compatible.  net9.0-tizen8.0 is compatible.  net9.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
1.2.0 218 12/5/2024
1.1.0 9,897 3/7/2024
1.0.4 622 2/23/2024
1.0.3 128 2/23/2024
1.0.2 179 2/16/2024
1.0.1 148 2/16/2024
1.0.0 1,563 1/2/2024
0.9.1 800 12/13/2023
0.9.0 214 12/11/2023
0.0.0-dev 74 12/5/2024