This demo project is an example to demonstrate the features of the AGC APM Xamarin Android Plugin.
In the Solution Explorer panel, right click on the solution name and select Manage NuGet Packages. Search for Huawei.Agconnect.Apms and install the package into your Xamarin.Android projects.
Before using the Xamarin SDK code, ensure that the below environments are set:
- Visual Studio - The latest version of Visual Studio should be installed and configured on the development computer.
Sign in to AppGallery Connect and select your project from My Projects. Go to Quality > APM. If it is the first time that you use APM, click Enable.
Step 1: Sign in to AppGallery Connect and select your project from My Projects.
Then go to Project Settings tab. On the page that is displayed, click agconnect-services.json
button.
Step 2: Once you download your agconnect-services.json
file, add it under the of the Assets folder.
You can now run your application and it should automatically start up on your mobile device.
AGC APM Xamarin Android Plugin - Demo uses the Apache 2.0 license.