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.
Note
Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
Warning
Critical content demanding immediate user attention due to potential risks.
Caution
Negative potential consequences of an action.
Success
Negative potential consequences of an action.
- Import the UXCam agent header at the top of your MauiProgram.cs
using Com.UXCam;- Add this call in your
CreateMauiAppmethod in MauiProgram.cs
UXCam.OptIntoVideoRecordings();
var configuration = new UXCamConfiguration("YOUR_APP_KEY");
UXCam.Start(configuration);Note
Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
Warning
Critical content demanding immediate user attention due to potential risks.
Caution
Negative potential consequences of an action.
Success
Negative potential consequences of an action.
SDK Installation — Xamarin (Deprecated)
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.optIntoVideoRecordings(); UXCamConfiguration configuration = new UXCamConfiguration( userAppKey: 'userAppKey', ); UXCam.startWithConfiguration(configuration);
Android
-
Edit AndroidManifest.xml to make sure the following permissions are present
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> -
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 link.
Updated 29 days ago
