Adobe.Analytic.Android.Bindings
1.0.0
See the version list below for details.
dotnet add package Adobe.Analytic.Android.Bindings --version 1.0.0
NuGet\Install-Package Adobe.Analytic.Android.Bindings -Version 1.0.0
<PackageReference Include="Adobe.Analytic.Android.Bindings" Version="1.0.0" />
paket add Adobe.Analytic.Android.Bindings --version 1.0.0
#r "nuget: Adobe.Analytic.Android.Bindings, 1.0.0"
// Install Adobe.Analytic.Android.Bindings as a Cake Addin
#addin nuget:?package=Adobe.Analytic.Android.Bindings&version=1.0.0
// Install Adobe.Analytic.Android.Bindings as a Cake Tool
#tool nuget:?package=Adobe.Analytic.Android.Bindings&version=1.0.0
Adobe Experience Analytics Xamarin.Android Bindings
This is xamarin binding packaged as nuget that include Mobile Core, Analytics and Identity Service. This pacckage can be used to integrate adobe analytics quickly in your project. Refer below for code referrence
Instllation
Test that your installation was Successful with the following commands:
paket add Adobe.Analytic.Android.Bindings --version <version-numbeer>
How to use in Xamarin.Android
Go to MainApp File Oncreate() in your android project
MobileCore.Application = ASRApplication.Current;
MobileCore.LogLevel = LoggingMode.Debug;
try
{
Analytics.RegisterExtension();
AdobeIdentity.RegisterExtension();
MobileCore.Start(new AdobeCallback());
}
catch (InvalidInitException ex)
{
Log.Debug("ADOBE_INIT_FAILURE", ex.Message);
}
Create a seperate class for AdobeCallback
public class AdobeCallback : Java.Lang.Object, IAdobeCallback
{
public void Call(Java.Lang.Object p0)
{
MobileCore.ConfigureWithAppID("Your-App-Id");
}
}
To track the events use below code
MobileCore.TrackAction("<EVENT-NAME>", <Dictionary-Data>);
To track the states use below code
MobileCore.TrackState("SCREEN-NAME", <Dictionary-Data>);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has 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.
Initial Release