AXAiOSBindings_MAUI 2023.9.9

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

// Install AXAiOSBindings_MAUI as a Cake Tool
#tool nuget:?package=AXAiOSBindings_MAUI&version=2023.9.9

Using AXA Bindings Library in .NET 7 MAUI

Installation

  1. Open your project to add the AXAiOSBindings_MAUI.dll package.

  2. Right-click on Dependencies, select Manage NuGet Packages, and search the AXAiOSBindings_MAUI.dll file from the list in the Nuget packages window under the nuget.org Package source and then click Add Package.

  3. Add the <app_name>_camdo.plist file to your project as a bundle resource

  4. Edit the xxx.csproj file and set the TargetFramework condition for the <app_name>_camdo.plist file, reference as follows

    Condition="'$(TargetFramework)'=='net7.0-ios"
    

    For example:

    <ItemGroup Condition="'$(TargetFramework)'=='net7.0-ios'">
        <BundleResource Include="xxx_camdo.plist" />
    </ItemGroup>
    

Initialising the SDK in your Source Code

Initialise the CAMobileAppAnalytics SDK in MauiProgram.cs in iOS FinishedLaunching event 

  1. Import AXAiOSBindings_MAUI
    #if IOS
        using AXAiOSBindings_MAUI;
    #endif
    
  2. Initialise the SDK
    .ConfigureLifecycleEvents(events => {
        #if IOS
            events.AddiOS(iOS => iOS.FinishedLaunching((app, launchOptions) => {
                AXAiOSBindings_MAUI.CAMDOReporter.InitializeSDKWithOptions(AXAiOSBindings_MAUI.SDKOptions.SDKLogLevelVerbose, (_, __) => {LogEvent("SDK initialized successfully");
                });
                return true;
            }));
        #endif
    

Usage

Use AXAiOSBindings_MAUI.CAMDOReporter to call custom APIs in your project.

For example:

AXAiOSBindings_MAUI.CAMDOReporter.SetCustomerId("Test");

For more information, see https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/app-experience-analytics-saas/SaaS/configuring/collect-data-from-ios-applications/collect-data-from-supported-mobile-platforms.html#concept.dita_6c3ef640e7e0cc8549ce43c10731700185fbf76e_Net7MAUI

Product Compatible and additional computed target framework versions.
.NET net7.0-ios16.1 is compatible.  net8.0-ios was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0-ios16.1

    • No dependencies.

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
2023.9.9 258 11/15/2023
2023.9.8 114 11/15/2023
2023.9.7 124 11/15/2023
2023.9.6 112 11/15/2023
2023.9.5 125 11/14/2023
2023.9.4 118 11/14/2023
24.1.2 80 4/1/2024
24.1.1 100 1/11/2024
23.12.1 139 11/29/2023