BeeAppie.Maui 1.0.1

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

BeeAppie for .NET MAUI

User identity, sign-in, leaderboards, polls, announcements, support chat, analytics and crash reports for your MAUI app. No UI and no third-party dependencies (no SQLite, no toolkits), so it fits next to whatever your app already uses. For ready-made pages (feedback form, support chat, leaderboards…) add BeeAppie.Maui.UI; for push notifications, BeeAppie.Maui.Push.

.NET 10 MAUI apps on iOS 15, Mac Catalyst 15, Android 5 (API 21) and Windows 10 (1809) or later. You need a BeeAppie account and an app key from the dashboard.

Setup

dotnet add package BeeAppie.Maui

In MauiProgram.cs:

builder
    .UseMauiApp<App>()
    .UseBeeAppie("your-app-key");

That is all: at launch BeeAppie restores this device's user (or creates one), opens and closes sessions as the app goes to the foreground and background, and captures crashes. The user's identity is kept in the platform keychain. If the app starts offline, BeeAppie starts as soon as it can: when the network comes back or the app returns to the foreground. On Mac Catalyst the keychain needs the app signed with a provisioning profile (development or distribution): an unsigned build can't keep the user, and BeeAppie logs MissingEntitlement and keeps trying.

From then on BeeAppie is BeeAppieSdk.Instance (using BeeAppie.Core;), the same as in the other .NET SDKs, so code shared with an Avalonia, Uno or desktop app works unchanged. It is also in the app's services as BeeAppieSdk.

BeeAppie writes to your app's logging under the category BeeAppie, so with builder.Logging.AddDebug() (in the MAUI template for Debug builds) you see when it starts, retries or captures a crash.

Privacy

Nothing is collected until the user agrees:

await BeeAppieSdk.Instance.SetConsentAsync(new ConsentDto
{
    EventPermission = true,   // analytics events
    SessionPermission = true, // usage sessions
    IssuesPermission = true   // error and crash reports
});

No user is created when the app starts: remote config, news and polls work with the app key alone, and a user appears when someone allows something (as above) or first uses a feature that needs one (chat, feedback, a vote, a score, signing in). "No thanks" before then stays on the device. Call BeeAppieSdk.Instance.EnsureUserAsync() if the app needs the user's id earlier.

Anonymous counts: if you chose to count active and new installs for the app (a Yes or No when you add it in the dashboard, later in its settings), each open is counted with no id, for everyone, whatever the user chose on the consent screen. The device keeps only the day it was last counted and the week it was installed. The ready-made profile page (BeeAppie.Maui.UI) has a "Count my visits anonymously" switch; from your own, call BeeAppieSdk.Instance.SetAnonymousCountingEnabled(false).

BeeAppieSdk.Instance.DeleteUserAsync() permanently erases the user and all their data.

Analytics and errors

BeeAppieSdk.Instance.TrackEvent("level_completed", new Dictionary<string, string> { ["level"] = "3" });
BeeAppieSdk.Instance.ReportException(exception);

Events and errors are queued on the device (small JSON files in the app data folder) and sent in batches (every 30 seconds, then every 5 minutes once the app has been in use 10 minutes, or when 100 are waiting, or when the app goes to the background; errors at once), so they survive going offline. Crashes are stored when they happen and sent on the next launch, with the app version they happened in.

Each report carries the whole exception chain (inner and aggregated exceptions, each with its stack) and an activity trail: the last 30 screens opened (page type only, never titles), event names, going to the background and back, and network changes. Add your own steps, without personal data:

BeeAppieSdk.Instance.AddBreadcrumb("Sync started");
BeeAppieSdk.Instance.Screen("Cart"); // pages are recorded already; for screens that are not pages

Reports of the same exception type thrown from the same method of your code are one issue across app versions. A resolved issue reopens when it happens again in the version you marked it fixed in, or a later one. On Android 11 and later, BeeAppie also reports the app freezing until Android closes it (an ANR) and crashes in native code, on the next launch, with the activity trail up to that moment. On iOS, crashes in native code (signals, uncaught Objective-C exceptions) and hangs of 2 seconds or more come from MetricKit at the next launch, on devices, not the simulator (CaptureHangs, MinimumHangDuration); upload the build's dSYM symbols to see your functions' names. A .NET crash is reported once: the native abort that ends it is skipped. If your app already uses a crash reporter such as Sentry, turn crash capture off so crashes are not reported twice (ReportException still works):

.UseBeeAppie("your-app-key", o => o.CaptureCrashes = false)

Each report also carries the device's state when it happened: the build number, how long the app had run (the dashboard marks crashes within 5 seconds as On launch), foreground or background, total and free memory and whether the system said it was low, free storage, where the app was installed from, orientation, screen size and density, and whether it was an emulator or a likely rooted or jailbroken device. Anonymous reports keep it too: none of it identifies anyone. The build number is AppInfo.BuildString (AppBuild in the options overrides it). Hangs and native crashes from MetricKit carry only the build and OS version.

Line numbers in release crashes

Release builds don't ship your .pdb files, so their crashes name methods without files or lines. After every Release build of the app, this package uploads your own assemblies' .dll and .pdb (only what BeeAppie doesn't have yet), and crashes show in CartPage.cs:line 42 again, those of the last 30 days included. Set the app's upload key (bu_…, dashboard → Crash reports → Readable crashes) as BEEAPPIE_UPLOAD_KEY on the build machine or in your CI's secrets, or add a line <bundle id> = bu_… to ~/.beeappie/upload-keys in your home folder, which every BeeAppie build tool reads (also Xcode opened from the Dock, which never sees ~/.zshrc) (desktop apps: their assembly name instead of a bundle id). Never in the project: it would end up in git. Uploads come with paid plans. A build never fails because of BeeAppie: without a key, or offline, it warns, and what wasn't sent goes with the next Release build. Only line numbers are kept, never your code. Libraries of your own from NuGet: <BeeAppieSymbolAssemblies>Shop.Core;Shop.Data</BeeAppieSymbolAssemblies>; to turn it off: <BeeAppieUploadSymbols>false</BeeAppieUploadSymbols>. iOS Release builds are compiled with LLVM, which drops the positions line numbers need: for lines on iOS too, set <MtouchUseLlvm>false</MtouchUseLlvm> for the iOS Release build (the app may run a little slower). Android and iOS Release builds also shorten .NET's own exception messages to keys (Format_InvalidStringWithValue, two); <UseSystemResourceKeys>false</UseSystemResourceKeys> keeps their text.

Push notifications

Add BeeAppie.Maui.Push, then:

builder.UseMauiApp<App>().UseBeeAppie("your-app-key").UseBeeAppiePush();

BeeAppieSdk.Instance.PushNotificationOpened += (_, e) =>
{
    if (e.ConversationId != null) { /* open the support chat */ }
};

Upload your APNs key and your Firebase service account in the dashboard (Push notifications › Apple & Google keys).

  • iOS: enable Push Notifications for the app id in Apple Developer, and add aps-environment to Entitlements.plist. Development builds go to Apple's sandbox on their own. BeeAppie adds the device-token callbacks to your app delegate; if it already implements RegisteredForRemoteNotifications, call BeeAppiePush.RegisteredForRemoteNotifications(token) from it.
  • Android: add the Firebase project's google-services.json to the app with the build action GoogleServicesJson. If the app has its own FirebaseMessagingService, forward OnNewToken and OnMessageReceived to BeeAppiePush.
  • Windows: no push yet. The package installs, so the app needs no conditional reference, and its calls do nothing.

Users are asked to allow notifications at startup. To ask at a better moment, set o => o.AskForPermissionAtStartup = false and call BeeAppiePush.RequestPermissionAsync() when it makes sense. Replies in support conversations and communications marked "also send as a push notification" are pushed automatically. Your own notifications are sent from the dashboard (Push notifications) or from your server with a secret key (POST /v1/manage/push/notifications). They count towards the plan's monthly push limit (one per device); chat replies never do.

Turning notifications off

Users can turn BeeAppie's notifications off in the app and on again later. The Profile and privacy screen of the UI package has the switch; for your own settings page:

var sdk = BeeAppieSdk.Instance;
bool on = sdk.PushNotificationsAllowed;                     // turned on in the app, and not blocked in the phone's settings
bool allowed = await sdk.SetPushNotificationsEnabledAsync(false); // or true; asks for the permission if it was never asked
if (sdk.PushNotificationsEnabled && sdk.PushPermission == PushPermission.Denied)
    sdk.OpenNotificationSettings();                         // blocked in the phone's settings: only the user can allow them there
sdk.PushNotificationsChanged += (_, _) => { /* e.g. allowed in the settings, then back in the app */ };

The choice is saved on the device and on the server, and the token is kept, so turning them on again works at once. BeeAppie sends nothing to a device turned off in the app or blocked in the phone's settings, and those devices use none of the push allowance. The dashboard counts them apart (Push notifications).

Users can say no to conversations started by your team (the ready-made Profile and privacy screen has the switch):

bool allowed = await BeeAppieSdk.Instance.SetTeamChatsAllowedAsync(false); // or true; BeeAppieSdk.Instance.TeamChatsAllowed reads it

Your team can't start a conversation with them then; they can still start one, and get your replies.

Achievements

Create them in the dashboard (App › Achievements) with a key, a goal (1 for a one-off), an icon and, if you like, other languages. Each call applies at once to a copy on the device and is sent later in a batch with the time it happened, so it works offline and never throws; sending creates the user, as other features do. BeeAppie.Maui.UI shows "Achievement unlocked" at the top of the window by itself (BeeAppieUI.CelebrateAchievements = false to turn it off), and its achievements page reads the copy, so it works offline too.

var achievements = BeeAppieSdk.Instance.Achievements;
achievements.Unlock("first-entry");
achievements.Increment("days-written");               // +1; reaching the goal unlocks it
achievements.SetProgress("longest-streak", 12);       // never goes down
achievements.Unlock("first-entry", at: earnedAt);     // a badge earned before BeeAppie: the earlier date wins

bool done = achievements.IsUnlocked("first-entry");   // from the copy on the device
var all = achievements.Current;
achievements.Unlocked += (_, e) => ShowMyPopup(e.Achievement);

With Send achievements only with consent on in the app's settings, nothing leaves the device (and no user is made for achievements) until the user allows usage statistics; the page, progress and message still work. Client.UnlockAchievementAsync and the other raw calls stay for when you need BeeAppie's answer.

Scores, feedback and news offline

Scores, feedback and announcement views, taps and confirmations are kept on the device and sent once BeeAppie can be reached, so they work offline and never throw. A score counts in the season it was made in if it arrives within 7 days. Leaderboards and the first 50 announcements are kept for offline reading. News, polls and push notifications come in the device's language when your team added it in the dashboard (otherwise in the app's main language): the SDK sends the language for you.

Times and "lower is better": a leaderboard can rank the lowest score first (races, moves) and show scores as times, both set in the dashboard. For a time, submit milliseconds; entries carry ScoreText ("1:23.45") to show as it is, ScoreFormats.Format formats one you hold, and the player's best (also the one waiting offline) follows the leaderboard's order.

var beeAppie = BeeAppieSdk.Instance;
beeAppie.Leaderboards.SubmitScore("high-score", 1250);              // with its time; sent now or later
var board = await beeAppie.Leaderboards.LoadAsync("high-score");    // offline: the last copy (IsUpToDate false), PendingBest
var sent = await beeAppie.Feedback.SendAsync(FeedbackCategory.Problem, "Sync fails", rating: 2); // false: waits on the device
var news = await beeAppie.LoadCommunicationsAsync();                // news.Items; offline: the last copy
await beeAppie.MarkCommunicationAcknowledgedAsync(news.Items[0].Id); // also offline

The ready-made pages (BeeAppie.Maui.UI, Avalonia, Uno) use these: the feedback form closes offline and says the feedback will be sent, the news and leaderboard pages show their copy. Client.SubmitScoreAsync and Client.SubmitFeedbackAsync stay for when you need BeeAppie's answer at once.

Entitlements

Access your team grants in the dashboard (a user's page, a conversation) or from your server, e.g. pro for someone who bought your app on another platform. They add to your store purchases and never replace them: revoking one in BeeAppie never touches a purchase, so never lock a user out because BeeAppie does not list an entitlement.

var isPro = store.Owns("pro") || BeeAppieSdk.Instance.HasEntitlement("pro"); // kept on the device, works offline
BeeAppieSdk.Instance.EntitlementsChanged += (_, e) => isPro = store.Owns("pro") || e.Has("pro");
await BeeAppieSdk.Instance.RefreshEntitlementsAsync(); // e.g. on "Restore purchases"; fetched at start and back in the foreground anyway

User data

Small JSON objects your app stores for each signed-in user (settings, favourites, progress, save slots), the same on all their devices and back after a reinstall. Turn on User data in the app's settings in the dashboard (paid plans). Reads come from the copy on the device, so they work offline; writes apply at once and are sent when BeeAppie can be reached (last write wins). Writes made before the user signs in wait and are sent once they do.

It is encrypted in transit and at rest, but not end-to-end: BeeAppie's servers can read it, and it is included in your app's data export. Your team's dashboard shows how much each user stores, not what. Don't store passwords, keys, health or financial data there; if you must, encrypt it in your app before saving.

record Settings(string Theme, int Size);

var data = BeeAppieSdk.Instance.UserData;
data.Put("settings", "main", new Settings("dark", 14));
var settings = data.Get<Settings>("settings", "main");  // or Get("settings", "main") for a JsonElement
var saves = data.List("saves");                          // every item of a collection, by key
data.Delete("saves", "slot-3");
data.Changed += (_, _) => Reload();                      // another device changed something
data.WriteRefused += (_, e) => Log(e.Error);             // e.g. item_too_large, user_storage_full

With trimming (iOS, Android Release), pass a source-generated JsonTypeInfo to Put and Get.

Everything else

BeeAppieSdk.Instance.Client is the full API client (BeeAppie.Client), e.g.:

var entry = await BeeAppieSdk.Instance.Client.SubmitScoreAsync(rankingId, 1250);
var top = await BeeAppieSdk.Instance.Client.GetTopEntriesAsync(rankingId, top: 10);

Errors are thrown as BeeAppieApiException; branch on its Code (BeeAppie.Contracts.ErrorCodes).

Documentation · Dashboard · All SDKs · SDK license

License

Copyright © 2026 HighTouch Innovation Ltd. All rights reserved. This package is not open source: it is licensed under the BeeAppie SDK License (LICENSE.md in the package), and may be used only with the BeeAppie service.

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-maccatalyst26.0 is compatible.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.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 (2)

Showing the top 2 NuGet packages that depend on BeeAppie.Maui:

Package Downloads
BeeAppie.Maui.Push

Push notifications for BeeAppie.Maui: registers the device with Apple (APNs) or Google (Firebase Cloud Messaging) and reports when users open notifications.

BeeAppie.Maui.UI

Ready-made pages for BeeAppie.Maui: feedback form, support chat, leaderboards, polls, announcements and user profile.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 47 11/25/2026
1.0.0 56 11/25/2026

1.0.1: the ready-made Leaderboards list works offline. It used to say "No leaderboards yet" without a connection; it now shows the list kept on the device, and each leaderboard opens with its own copy and the player's waiting best. New: Leaderboards.ListAsync, which keeps the list for offline the way LoadAsync keeps each leaderboard. Fixed: leaderboards and news kept on the device did not show when the app was opened without a connection. Seasons: a leaderboard page now offers every past season the leaderboard keeps (it used to offer only the last one), named the way your team set in the dashboard (e.g. "Today", "Round 12", in each language added), or Today / Yesterday, This week / Last week, This month / Last month and dates when no name is set; "Season ends" now reads "Ends". New: Leaderboards.SeasonsAsync and CachedSeasons, and GetLeaderboardPage(key, season) to open one at a past season. See https://beeappie.com/changelog for what changes in each version.