Plugin.DynamicAlert 1.3.1

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

// Install Plugin.DynamicAlert as a Cake Tool
#tool nuget:?package=Plugin.DynamicAlert&version=1.3.1

Plugin.DynamicAlert

This plugin provides a simple platform specific implementation of a alert whose text can be updated. It is useful to show progress for example. The alerts cannot be closed by the user by default. So far, the appearance and position are not changeable but follow the default behavior of the operating system. Compatible with all platforms supported by .NET MAUI except windows. If a Windows implementation or other changes are needed, I am happy about any pull request!

Example

Android iPhone
alternate text is missing from this package README image alternate text is missing from this package README image

Installation

The plugin is available on NuGet.

  • NuGet Official Releases: NuGet

Browse with the NuGet manager in your IDE to install them or run this command:

Install-Package Plugin.DynamicAlert

Getting Started

After installation the plugin can be used as follows:

public async Task UpdateDynamicAlertAsync()
    {
        // Creates a new alert with the specified title and message
        var alert = new DynamicAlert("Title", "Message");

        for(int i = 0; i < 10; i ++) {
            await Task.Delay(TimeSpan.FromSeconds(1));

            // Updates the alert with the new message
            alert.Update($"Title count": {i}");
        }

        // Remove the alert when you are done
        alert.Dismiss();
    }
Product Compatible and additional computed target framework versions.
.NET net7.0-android33.0 is compatible.  net7.0-ios16.1 is compatible.  net7.0-maccatalyst16.1 is compatible.  net7.0-windows10.0.19041 is compatible.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.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.4.3 562 5/22/2023
1.4.2 489 5/22/2023
1.4.1 479 5/11/2023
1.4.0 463 5/11/2023
1.3.2 501 5/10/2023
1.3.1 590 3/8/2023
1.2.0 632 1/19/2023
1.1.0 647 12/20/2022
1.0.2 799 1/11/2022