Aquila.MsgBits 1.1.4

dotnet add package Aquila.MsgBits --version 1.1.4
                    
NuGet\Install-Package Aquila.MsgBits -Version 1.1.4
                    
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="Aquila.MsgBits" Version="1.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aquila.MsgBits" Version="1.1.4" />
                    
Directory.Packages.props
<PackageReference Include="Aquila.MsgBits" />
                    
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 Aquila.MsgBits --version 1.1.4
                    
#r "nuget: Aquila.MsgBits, 1.1.4"
                    
#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 Aquila.MsgBits@1.1.4
                    
#: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=Aquila.MsgBits&version=1.1.4
                    
Install as a Cake Addin
#tool nuget:?package=Aquila.MsgBits&version=1.1.4
                    
Install as a Cake Tool

Aquila.MsgBits

πŸš€ Lightweight Android messaging utility for .NET MAUI

Aquila.MsgBits provides a simple, native, and extensible messaging API for .NET MAUI applications, starting with Android Toast messages and designed to grow into snackbars, alerts, and more.


πŸ“˜ Overview

Aquila.MsgBits is a developer-friendly utility that helps you display short user messages without writing platform-specific code.

Instead of dealing with Android namespaces, platform checks, or heavy UI plugins, you use one clean API:

MsgBits.Show("Operation successful");

❓ Why Aquila.MsgBits?

In .NET MAUI:

  • There is no built-in Toast API
  • Developers often repeat Android-specific code
  • UI logic gets polluted with platform checks
  • Third-party plugins add unnecessary weight

Aquila.MsgBits solves this by providing a single, minimal, native abstraction.


✨ Key Features

  • βœ… Native Android Toast messages
  • βœ… Single-line API
  • βœ… Android-only (safe no-op on other platforms)
  • βœ… Zero configuration
  • βœ… No external dependencies
  • βœ… Clean and extensible design
  • βœ… Production-ready

πŸ“¦ Installation

Using NuGet

dotnet add package Aquila.MsgBits

Or install via Visual Studio β†’ NuGet Package Manager.


πŸš€ Usage

Basic Message

using Aquila.MsgBits;

MsgBits.Show("Hello from Aquila!");

Long Message

MsgBits.Show("Data saved successfully", MessageLength.Long);

That’s it. No initialization. No platform-specific code.


πŸ”§ Platform Support

Platform Supported Behavior
Android βœ… Yes Shows native toast
iOS ❌ No Safe no-op
Windows ❌ No Safe no-op
macOS ❌ No Safe no-op

You can safely call MsgBits.Show() from shared MAUI code.


πŸ†š With vs Without Aquila.MsgBits

❌ Without Aquila.MsgBits

#if ANDROID
Android.Widget.Toast.MakeText(
    Android.App.Application.Context,
    "Hello",
    Android.Widget.ToastLength.Short
).Show();
#endif

Problems:

  • Platform checks everywhere
  • Repeated boilerplate
  • Harder maintenance
  • Poor scalability

βœ… With Aquila.MsgBits

MsgBits.Show("Hello");

Benefits:

  • Clean shared code
  • Better readability
  • Easier refactoring
  • Future-ready API

🧠 Design Philosophy

  • One entry point (MsgBits)
  • Platform logic hidden internally
  • Extensible architecture
  • Minimal surface area
  • No magic, no heavy abstractions

This allows future additions like:

MsgBits.Snackbar("No internet");
MsgBits.Alert("Delete item?");

Without breaking existing code.


πŸ›£ Roadmap

Planned enhancements:

  • Snackbar support (Android)
  • Toast queue handling
  • Theme-aware messages
  • Network-aware messaging
  • Unified Aquila.Maui.Toolkit

πŸ‘¨β€πŸ’» Maintained By

Aquila Innovations 🌐 https://aquilainnovations.in πŸ“§ support@aquilainnovations.in


πŸ“„ License

MIT License Β© Aquila Innovations


⭐ Final Note

Aquila.MsgBits is intentionally small.

It does one thing today β€” and it does it well.

If you value clean APIs, native behavior, and scalable design, this library is built for you.


Product Compatible and additional computed target framework versions.
.NET net8.0-android34.0 is compatible.  net8.0-windows10.0.19041 is compatible.  net9.0-android was computed.  net9.0-windows was computed.  net10.0-android 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 (1)

Showing the top 1 NuGet packages that depend on Aquila.MsgBits:

Package Downloads
Aquila.UpdateManager

Cross-platform update checker for .NET MAUI apps. Supports Android and Windows with store redirection.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.4 142 2/1/2026
1.1.3 117 2/1/2026
1.1.2 116 2/1/2026
1.1.1 113 2/1/2026
1.0.0 116 2/1/2026