Oscore.Maui.Android.InAppUpdates
1.0.3
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Oscore.Maui.Android.InAppUpdates --version 1.0.3
NuGet\Install-Package Oscore.Maui.Android.InAppUpdates -Version 1.0.3
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="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Oscore.Maui.Android.InAppUpdates --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Oscore.Maui.Android.InAppUpdates, 1.0.3"
#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=1.0.3 // Install Oscore.Maui.Android.InAppUpdates as a Cake Tool #tool nuget:?package=Oscore.Maui.Android.InAppUpdates&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Maui.Android.InAppUpdates
NuGet package that implementing Android In-App Updates for MAUI with debugging capabilities.
Usage
- Add NuGet package to your project:
<PackageReference Include="Oscore.Maui.Android.InAppUpdates" Version="1.0.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
- Right now the package uses the
Xamarin.Google.Android.Play.Core
dependency for implementation. There is a plan to move toXamarin.Google.Android.Play.App.Update
in the future when the problem with flexible updates is resolved
Links
- https://developer.android.com/guide/playcore/in-app-updates/kotlin-java
- https://github.com/PatGet/XamarinPlayCoreUpdater
- https://github.com/xamarin/GooglePlayServicesComponents/issues/796
- https://github.com/PatGet/XamarinPlayCoreUpdater/issues/22
- https://github.com/PatGet/XamarinPlayCoreUpdater/issues/17
- https://github.com/PatGet/XamarinPlayCoreUpdater/pull/20#issuecomment-1273774958
- https://stackoverflow.com/questions/56218160/how-to-implement-google-play-in-app-update-and-use-play-core-library-with-xamari
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios17.2 is compatible. net8.0-maccatalyst was computed. net8.0-maccatalyst17.2 is compatible. net8.0-macos was computed. net8.0-tizen8.0 is compatible. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows10.0.19041 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Maui.Controls (>= 8.0.6)
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.6)
- Xamarin.AndroidX.Activity (>= 1.8.1.1)
- Xamarin.AndroidX.Activity.Ktx (>= 1.8.1.1)
- Xamarin.AndroidX.Collection (>= 1.3.0.2)
- Xamarin.AndroidX.Collection.Jvm (>= 1.3.0.2)
- Xamarin.AndroidX.Collection.Ktx (>= 1.3.0.2)
- Xamarin.Google.Android.Play.Core (>= 1.10.3.8)
-
net8.0-ios17.2
- Microsoft.Maui.Controls (>= 8.0.6)
-
net8.0-maccatalyst17.2
- Microsoft.Maui.Controls (>= 8.0.6)
-
net8.0-tizen8.0
- Microsoft.Maui.Controls (>= 8.0.6)
-
net8.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 8.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.