The49.Segment.Analytics 1.0.0-alpha2

This is a prerelease version of The49.Segment.Analytics.
dotnet add package The49.Segment.Analytics --version 1.0.0-alpha2                
NuGet\Install-Package The49.Segment.Analytics -Version 1.0.0-alpha2                
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="The49.Segment.Analytics" Version="1.0.0-alpha2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add The49.Segment.Analytics --version 1.0.0-alpha2                
#r "nuget: The49.Segment.Analytics, 1.0.0-alpha2"                
#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 The49.Segment.Analytics as a Cake Addin
#addin nuget:?package=The49.Segment.Analytics&version=1.0.0-alpha2&prerelease

// Install The49.Segment.Analytics as a Cake Tool
#tool nuget:?package=The49.Segment.Analytics&version=1.0.0-alpha2&prerelease                

The49.Segment.Analytics

.NET MAUI bindings of the analytics-android and analytics-ios library from Segment

Usage

Setup the library in your MauiProgram.cs

var builder = MauiApp.CreateBuilder();

builder
    .UseMauiApp<App>()
    .UseAnalytics("<writeKey>", cfg =>
    {
        cfg
        .TrackApplicationLifecycleEvents()
        .RecordScreenViews();
    });

return builder.Build();

Use Analytics methods by using Analytics.Default:

Analytics.Default.Track("Testing");
Product Compatible and additional computed target framework versions.
.NET net7.0-android33.0 is compatible.  net7.0-ios16.1 is compatible.  net8.0-android was computed.  net8.0-ios 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.0.0-alpha2 1,819 6/21/2023
1.0.0-alpha1 295 5/24/2023