AXAiOSBindings_MAUI 2023.9.4

Suggested Alternatives

AXAiOSBindings_MAUI 24.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package AXAiOSBindings_MAUI --version 2023.9.4                
NuGet\Install-Package AXAiOSBindings_MAUI -Version 2023.9.4                
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.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AXAiOSBindings_MAUI --version 2023.9.4                
#r "nuget: AXAiOSBindings_MAUI, 2023.9.4"                
#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.4

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

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 AXAiOSBindings_MAUI.dll and <app_name>_camdo.plist files, reference as follows

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

    For example:

    <ItemGroup>
      <Reference Include="AXAiOSBindings_MAUI" Condition="'$(TargetFramework)'=='net7.0-ios'">
        <HintPath>..\AXAiOSBindings_MAUI.dll</HintPath>
      </Reference>
    </ItemGroup>
    <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 </details>

Product Compatible and additional computed target framework versions.
.NET net7.0-ios16.0 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.0

    • 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.