MvvX.Plugins.AppCenter
2022.10119.0-preview-4
See the version list below for details.
dotnet add package MvvX.Plugins.AppCenter --version 2022.10119.0-preview-4
NuGet\Install-Package MvvX.Plugins.AppCenter -Version 2022.10119.0-preview-4
<PackageReference Include="MvvX.Plugins.AppCenter" Version="2022.10119.0-preview-4" />
paket add MvvX.Plugins.AppCenter --version 2022.10119.0-preview-4
#r "nuget: MvvX.Plugins.AppCenter, 2022.10119.0-preview-4"
// Install MvvX.Plugins.AppCenter as a Cake Addin #addin nuget:?package=MvvX.Plugins.AppCenter&version=2022.10119.0-preview-4&prerelease // Install MvvX.Plugins.AppCenter as a Cake Tool #tool nuget:?package=MvvX.Plugins.AppCenter&version=2022.10119.0-preview-4&prerelease
MvvX.AppCenter
Use AppCenter SDK on a MvvmCross application (https://www.mvvmcross.com/).
Why using a plugin as AppCenter is compatible with .net standard ? With a plugin, you can use an interface (IAppCenterClient) in order to use AppCenter functions
=========
IC
Onboarding Instructions
Installation
Add nuget package:
Install-Package MvvX.Plugins.AppCenter
In App.xaml.cs file add the following line in usage declaration section: <pre>MvvX.Plugins.AppCenter;</pre>
In App.xaml.cs file add the following line in App class constructor:
var appCenterClientId = "Set AppCenter Id here";
var buildVersion = "Set your application build version here";
// ex : Assembly.GetExecutingAssembly().GetName().Version.ToString()
var appCenterClient = Mvx.Resolve<IAppCenterClient>();
appCenterClient.Configure(appCenterClientId,
buildVersion,
true,
true,
true,
null,
null);
Attach file at each crash report
You can define a default file that will be attached to an Exception report when an exception occured in the application. To do it, set the full file path in the Configure method
var fileToUploadSamplePath = "c:\file.log";
var appCenterClient = Mvx.Resolve<IAppCenterClient>();
appCenterClient.Configure(appCenterClientId,
buildVersion,
true,
true,
true,
fileToUploadSamplePath,
null);
In this example, when a crash occured, the file "c:\file.log" will be attached to the exception report.
Attach additional file at each crash report
Sometimes you need to attach more than a unique log file.
For this case, you can define additional file path to the Configure method. All files defined here will be zipped and attached to an Exception report when an exception occured in the application.
var otherfile1 = "c:\temp\otherFile.log";
var otherfile2 = "c:\temp\otherFile2.log";
var appCenterClient = Mvx.Resolve<IAppCenterClient>();
appCenterClient.Configure(appCenterClientId,
buildVersion,
true,
true,
true,
null,
new List<string>()
{
otherfile1,
otherfile2
});
In this example, when a crash occured, a zipped file (named "AdditionalContent.zip") will be attached to the exception report.
Support / Contribute
If you have any questions, problems or suggestions, create an issue or fork the project and create a Pull Request.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Microsoft.AppCenter.Analytics (>= 5.0.0-preview.1)
- Microsoft.AppCenter.Crashes (>= 5.0.0-preview.1)
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 |
---|---|---|
2022.10119.0-preview-5 | 529 | 1/2/2023 |
2022.10119.0-preview-4 | 103 | 11/22/2022 |
2022.10118.2 | 988 | 1/18/2022 |
2022.10118.1-alpha | 554 | 1/18/2022 |
2021.10914.3 | 763 | 9/14/2021 |
2021.10914.2-alpha | 592 | 9/14/2021 |
2021.10914.1-alpha | 616 | 9/14/2021 |
2021.10314.5 | 859 | 3/14/2021 |
2021.10314.4-alpha | 612 | 3/14/2021 |
2021.10314.3 | 898 | 3/13/2021 |
2020.10902.2 | 883 | 9/2/2020 |
2020.10901.1 | 888 | 9/1/2020 |
2020.10727.1-alpha | 815 | 7/27/2020 |
2020.10716.1-alpha | 756 | 7/16/2020 |
2020.10530.2 | 970 | 5/29/2020 |
2020.10530.1-alpha | 812 | 5/29/2020 |
2020.10529.2 | 854 | 5/29/2020 |
2020.10529.1-alpha | 740 | 5/29/2020 |
2020.10426.3 | 851 | 4/26/2020 |
2020.10426.2-alpha | 752 | 4/26/2020 |
2020.10426.1-alpha | 725 | 4/26/2020 |
2020.10104.2 | 11,512 | 1/4/2020 |
2019.11104.2 | 1,825 | 11/4/2019 |
2019.11030.1 | 952 | 10/30/2019 |
2019.11003.3-alpha | 947 | 10/3/2019 |
2019.11003.2 | 967 | 10/3/2019 |
2019.11003.2-alpha | 774 | 10/3/2019 |
2019.11003.1 | 915 | 10/3/2019 |
2019.10918.2 | 2,676 | 9/18/2019 |
2019.10916.2 | 982 | 9/16/2019 |
2019.10916.1 | 956 | 9/16/2019 |
2019.10823.2 | 1,827 | 8/23/2019 |
2019.10823.1 | 913 | 8/23/2019 |
2019.10720.1 | 987 | 7/20/2019 |
2019.10719.1 | 963 | 7/19/2019 |
2019.10718.4 | 945 | 7/18/2019 |
2019.10718.3 | 987 | 7/18/2019 |
2019.10718.2 | 924 | 7/18/2019 |
2019.10718.1 | 953 | 7/18/2019 |
2019.10717.2 | 976 | 7/17/2019 |