1using System.Threading.Tasks;
2using CommunityToolkit.Mvvm.ComponentModel;
24 this.InitializeComponent();
25 this.BindingContext =
this;
39 if (AppInstance is not
null)
40 await AppInstance.InitCompleted;
44 string? PendingIntentUri = await
ServiceRef.IntentService.TryGetAndDequeueOnboardingUrl();
46 await
ServiceRef.IntentService.ProcessQueuedIntentsAsync();
48 bool IsOnboarded = this.tagProfile.IsComplete();
54 if (PendingIntentUri is not
null)
59 await this.navigationService.SetRootAsync(nameof(
OnboardingPage), Args);
73 ThemeOutcome = await this.themeService.ApplyProviderThemeAsync(
ThemeFetchPolicy.BlockingFirstRun, CancellationToken.None);
75 await this.navigationService.SetRootAsync(nameof(
MainPage));
78 await this.notificationService.ProcessPendingAsync(CancellationToken.None);
Represents an instance of the Neuro-Access app.
static new? App Current
Gets the current application instance.
A strongly-typed resource class, for looking up localized strings, etc.
static string NetworkSeemsToBeMissing
Looks up a localized string similar to Network seems to be missing. Please check your configuration a...
static string Ok
Looks up a localized string similar to OK.
static string ErrorTitle
Looks up a localized string similar to An error has occurred.
Base class that references services in the app.
static ILogService LogService
Log service.
static IUiService UiService
Service serializing and managing UI-related tasks.
static IReportingStringLocalizer Localizer
Localization service
static IXmppService XmppService
The XMPP service for XMPP communication.
The TAG Profile is the heart of the digital identity for a specific user/device. Use this instance to...
Manages application theming. Applies bundled (local) light/dark themes and, when a provider domain is...
Navigation service managing a custom stack of BaseContentPage instances. Modal navigation is deprecat...
A base class for all pages, intended for custom navigation with explicit life-cycle events.
Navigation arguments for onboarding flow. Scenario determines dynamic starting step.
override Task OnDisappearingAsync()
Called when the page is about to be hidden. Triggers save state, disappearing logic,...
override Task OnInitializeAsync()
Override to register event handlers, process navigation args, etc. Called ONCE per page lifetime.
override Task OnDisposeAsync()
Override to unregister event handlers, cleanup, etc. Called when page is permanently removed.
override async Task OnAppearingAsync()
Called when the page is about to be shown. Triggers restore state, appearing logic,...
Interface for the redesigned notification service.
The TAG Profile is the heart of the digital identity for a specific user/device. Use this instance to...
Service for loading, applying, and retrieving themes and branding in the application....
Service for navigating between pages using route-based navigation.
Task< bool > DisplayAlert(string Title, string Message, string? Accept=null, string? Cancel=null)
Displays an alert/message box to the user.
ThemeApplyOutcome
Represents the outcome of a provider theme application attempt.
ThemeFetchPolicy
Defines how provider branding should be fetched and applied.
OnboardingScenario
Distinct onboarding scenarios.