AppDynamics.Agent.Forms 2021.9.0

Install-Package AppDynamics.Agent.Forms -Version 2021.9.0
dotnet add package AppDynamics.Agent.Forms --version 2021.9.0
<PackageReference Include="AppDynamics.Agent.Forms" Version="2021.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AppDynamics.Agent.Forms --version 2021.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AppDynamics.Agent.Forms, 2021.9.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AppDynamics.Agent.Forms as a Cake Addin
#addin nuget:?package=AppDynamics.Agent.Forms&version=2021.9.0

// Install AppDynamics.Agent.Forms as a Cake Tool
#tool nuget:?package=AppDynamics.Agent.Forms&version=2021.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Real user monitoring for your Xamarin Forms app.

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
2021.9.0 117 9/15/2021
2021.8.1 100 8/17/2021
2021.8.0 86 8/12/2021

Version: 2021.9.0

Native Agents: com.appdynamics.eum.android:mobile-android:21.6.0.2076, com.appdynamics.eum:mobile-ios:2021.8.1.2573

Changes:

Version 2021.9.0 brings UI Tracking capabilities to Xamarin.Forms. To use it, make sure you're using the AppDynamics.Agent.Forms package.

You can now instrument Buttons, Entries and ListViews. All you have to do is attach a property to your views:

appd:UiInstrumentation.IsInstrumented="True"

And do not forget to include the appd namespace:

xmlns:appd="clr-namespace:AppDynamics.Agent.Forms;assembly=AppDynamics.Agent.Forms"

Example (xaml file):
- - -
<ContentPage
   xmlns:appd="clr-namespace:AppDynamics.Agent.Forms;assembly=AppDynamics.Agent.Forms" >
   <StackLayout>
       <Button
           appd:UiInstrumentation.IsInstrumented="True"
           Clicked="OnButtonClicked" />
       <Entry
           appd:UiInstrumentation.IsInstrumented="True" />
       <ListView
           appd:UiInstrumentation.IsInstrumented="True">
           <ListView.ItemsSource>
               <x:Array Type="{x:Type x:String}">
                   <x:String>Item 1</x:String>
                   <x:String>Item 2</x:String>
               </x:Array>
           </ListView.ItemsSource>
       </ListView>
   </StackLayout>
</ContentPage>
- - -

You can also do this in code behind:
- - -
using AppDynamics.Agent.Forms;

var button = new Button();
button.SetValue(UiInstrumentation.IsInstrumentedProperty, true);
- - -

The IsInstrumented property will track the following events:

1. Button - Button Clicked
2. ListView - Item Selected
3. Entry - Entry Focused & Entry Unfocused