Sentinel Analytics — Get Started
Sentinel Analytics — is tool for .Net MAUI developers.
This tool allow to log crashes and events of mobile application.
- Get Started
Install NuGet package into your MAUI
dotnet add package SentinelAnalytics.MAUI2. Create profile on https://analytics-mobile.com/.
a) Make registration;
Get Aleh Ladyka’s stories in your inbox
Join Medium for free to get updates from this writer.
b) Create project and copy Key
3) Make initialization in MAUI application:
protected override void OnStart()
{
SentinelAnalytics.Initialize("prod_key_xxx");
}4) Add into your application logic tracking errors and events:
try
{
// your logic
}
catch (Exception ex)
{
await SentinelTracker.TrackErrorAsync(ex, properties: (IDictionary<string, object>)properties);
// or
SentinelTracker.TrackError(ex, properties: (IDictionary<string, object>)properties);
}
await SentinelTracker.TrackEventAsync(text, properties: (IDictionary<string, object>)properties);
// or
SentinelTracker.TrackEvent(text, properties: (IDictionary<string, object>)properties);5) Go to Crashes dashboard or Analytics dashboard.
6) Open Crash info
You will see all related data, full user events that was before application crash.
7) Open Analytics dashboard





