Xamarin - MAUI
UXCam Xamarin / MAUI Integration Guide
Welcome! This guide will help you set up UXCam for your Xamarin project, enabling you to gather insights that are crucial for improving user experience. We'll guide you through the installation process, initial setup, and a few useful configurations to get the most out of UXCam.
What Does a Successful Integration Look Like?
With a complete UXCam integration, you’ll be able to track user journeys, analyze user behaviors, and watch session replays, gaining valuable insights into how your users are interacting with your application. Following this quick guide, you’ll have your Xamarin app connected to UXCam in no time.
Quick Start Guide
Please download the latest Xamarin UXCam component from here
For reference on including a component into your project visit here.
.NET MAUI SDK
If you're implementing the SDK using .NET MAUI instead of regular Xamarin, you'll have to download the package from this link instead, all other implementation steps are identical as seen below.
SDK Installation
iOS
-
Import the UXCam agent header at the top of your AppDelegate.cs
using Com.UXCam;
-
Add this call as the first line of your AppDelegate FinishedLaunching method
UXCam.optIntoSchematicRecordings(); UXCamConfiguration configuration = new UXCamConfiguration( userAppKey: ‘userAppKey’, enableImprovedScreenCapture: true, ); UXCam.startWithConfiguration(configuration);
Android
-
Edit AndroidManifest.xml to make sure the following permissions are present
<uses-permission android:name="android.permission.INTERNET" />
-
Edit AndroidManifest.xml to Add following services inside your application tag
<service android:name="com.uxcam.service.HttpPostService"/>
-
In every activity that is an entry point to your app add
using Com.UXCam;
-
Add UXCam.startApplicationWithConfiguration("App-key") inside onCreate method
using Com.UXCam; using Com.Uxcam.Datamodel; UXCam.OptIntoVideoRecording(); UXConfig config = new UXConfig.Builder("your app Key") .Build(); UXCam.StartWithConfiguration(config);
Next Steps ➞
Now that you have UXCam integrated, your sessions will start appearing on the dashboard within a few seconds after the app goes into the background. We encourage you to explore customization options such as identifying users, tagging sessions, or hiding sensitive views.
Check out our additional documentation to learn how to further tailor UXCam to your needs!
As Simple As That!
Your integration process is complete. Start reviewing sessions in the dashboard and explore UXCam's powerful features to get more insights into your app's user experience.
SDK Updates
To stay up to date with the latest SDK improvements, visit this page.
Updated about 1 month ago