We recommend installing the Cobrowse.io SDK using NuGet. Add the following package to your .NET 8 project:
CobrowseIO.DotNet:
Add the following lines to your code which will register this device with the Cobrowse servers so you can connect to it. You could choose to do this on app startup, or when your users visits a support page in your application, or any other time.
usingCobrowse.IO;publicpartialclassApp:Microsoft.Maui.Controls.Application{publicApp(){InitializeComponent();CobrowseIO.Instance.License="put your license key here";CobrowseIO.Instance.Start();}}
This will associate sessions from your mobile app with your Cobrowse account.
MAUI sample app
We provide a sample application showing how to use Cobrowse.io NuGet packages in MAUI with .NET 8. MAUI sample includes using 6-digit codes, full device screen sharing, and redacting sensitive data.
Try it out
Once you have your app running in the iOS Simulator or on a physical device, navigate to https://cobrowse.io/dashboard to see your device listed. You can click the "Connect" button to initiate a Cobrowse session!