Appcenter Sdk Dotnet Versions Save

Development repository for the App Center SDK for .NET platforms, including Xamarin

5.0.3

7 months ago

App Center

  • [Internal] Add dataResidencyRegion option.

Windows

  • [Improvement] Update SQLitePCLRaw.bundle_green to version 2.1.5
  • [Improvement] Improved desktop app type checking to work with app life cycle.

5.0.2

11 months ago

App Center

  • [Fix] Update Newtonsoft.Json dependency to version 13.0.2. The update fixes GHSA-5crp-9r3c-p9vr.
  • [Fix] Use DispatcherUnhandledException instead of AppDomain.CurrentDomain.UnhandledException for WPF applications for postcrash processing. It fixes #1727.
  • [Improvement] Remove SmartLink=false, as it may break the SDK integration in some cases.
  • [Improvement] Remove flag RegexOptions.Compiled, as it is proved to be slow on net6 and above.

Windows

  • [Fix] Fix WindowsHelper's OSVersion check for Windows 7 sp1

5.0.1

1 year ago

App Center

  • [Fix] Fix strong name validation.

5.0.0

1 year ago

App Center

Apple

  • [Fix] Fix crash on net6.0-macos application because of an incorrect native binary linking.
  • [Feature] Add Xcode 14 support. Xcode 11 and Xcode 12 are out of support now. Bump minumum supported iOS version to iOS 11.

Android

  • [Fix] Fix ignoring maximum storage size limit in case logs contain large payloads.

Windows

  • [Fix] Fix crash on MAUI windows unpackaged application due to picking a wrong lifecycle helper.

App Center Crashes

Apple

  • [Improvement] Update PLCrashReporter to 1.11.0.

App Center Distribute

Android

  • [Feature] Add requesting notifications permission for Android 13 (notifications are used to inform about downloading/installing status if an application is in background)

5.0.0-preview.1

1 year ago

Version 5.0.0-preview.1

App Center

  • [Feature] Add .NET 6 support.
  • [Breaking change] .NET Core 3.0 target for WPF and WinForms applications is out of support, it's replaced with 3.1 (LTS).
  • [Breaking change] .NET Framework 4.6.1 target is out of support, it's replaced with 4.6.2
  • [Breaking change] .NET 5.0 for windows is out of support, it's replaced with .NET 6.0.
  • [Breaking change] Updated .NET Standard "fallback" target from 1.0 to 2.0.
  • [Breaking change] Updated required version of Xamarin.Android target framework to 10.0. The version is specified in the <TargetFrameworkVersion> element in the project file.

4.5.3

1 year ago

App Center

Android

  • [Fix] Fix crash when storage is encrypted during direct boot. Please note that settings and pending logs database are not shared between regular and device-protected storage.

Windows

  • [Fix] Fix crash when retrieving device info on early Windows versions.
  • [Fix] Update vulnerable version of SQLitePCLRaw.bundle_green dependency.
  • [Fix] Fix version reporting for non-WinUI applications when target framework is net5.0-windows10.0.17763.0 or higher.
  • [Fix] Fix 4.5.1 regression of auto session tracking.
  • [Fix] Fix duplicate inner exception reporting in AggregateException.

App Center Crashes

iOS/macOS

  • [Improvement] Update PLCrashReporter to 1.10.2.
  • [Fix] Fix 4.3.0 regression where native exceptions crashes an application even if wrapped into try/catch.

App Center Distribute

Android

  • [Improvement] Remove optional SYSTEM_ALERT_WINDOW permission that was required to automatically restart the app after installing the update.
  • [Improvement] Add fallback to the old ACTION_INSTALL_PACKAGE installation method if the update cannot be installed by PackageInstaller API (e.g. when MIUI optimizations block installation).
  • [Fix] Fix possible crash on resume event before initialization.
  • [Fix] Fix clicks on the download completion notification.
  • [Fix] Fix ANR on installing large packages.
  • [Fix] Fix cancellation handling of confirmation dialog for mandatory updates.
  • [Fix] Fix strict mode issues.

4.5.1

2 years ago

App Center

Windows

  • [Feature] Add support target framework net5.0-windows10.0.17763.0 or higher for non-WinUI applications.
  • [Fix] Fix a deadlock that occurs during the services initialization on Windows.

macOS

  • [Fix] Fix "Malformed Framework" error when submitting to App Store.

App Center Crashes

UWP

  • [Fix] Fix crash when use Crashes.TrackError API where exception has frames with empty native images.

4.5.0

2 years ago

App Center

  • [Breaking change] Remove AppCenter.SetCustomProperties API.

Windows

  • [Fix] Fix App Center SDK compatibility with project targets .NET Framework and .NET Core.
  • [Fix] Fix crash during getting device information when WMI service is disabled.
  • [Fix] Fix a deadlock after the application start caused by improper StatefulMutex usage on the Windows Server OS.
  • [Fix] Fix check on using HttpClient API instead of ServicePointManager in applications with target framework version 4.7.2 and higher.

Android/iOS

  • [Feature] Add AppCenter.setCountryCode(string) API to set the country code manually.

iOS

  • [Fix] Fix throw an exception when checking to authenticate MAC value during decryption.

App Center Analytics

  • [Feature] Increase the interval between sending logs from 3 to 6 seconds for the backend load optimization.
  • [Feature] Add Analytics.EnableManualSessionTracker and Analytics.StartSession APIs for tracking session manually.

macOS

  • [Feature] Add support for Xamarin.Mac. 🥳

App Center Crashes

iOS

  • [Fix] Fix sending Crashes.trackError logs after allowing network requests after the launch app.

macOS

  • [Feature] Add support for Xamarin.Mac.

App Center Distribute

iOS

  • [Fix] Cancel authorization process if application is not active, otherwise ASWebAuthenticationSession will fail opening browswer and update flow will end up being in a broken state. This only affects updating from a private distribution group.

Android

  • [Feature] Remove the download manager task if the download doesn't start within 10 seconds.
  • [Feature] Replace installing a new release using the deprecated intent action ACTION_INSTALL_PACKAGE with the PackageInstaller API.
  • [Feature] Add sumcheck on the downloaded file before starting the install process.
  • [Fix] Fix a crash after discarding the installation if the download of a new release was interrupted in the previous application start and resumed in the current one.

Known issues

  • Error preventing a Xamarin Mac app from being uploaded to the App Store.

4.4.0

2 years ago

App Center

Windows

  • [Feature] Add support for platform WinUI in Desktop. The target version of WinUI apps should be net5.0-windows10.0.17763.0 or higher. Known issue: on WinUI apps, the amount of sessions may be lower than on UWP apps due to specifics of its lifecycle.
  • [Fix] Update Newtonsoft.Json dependency to version 13.0.1.
  • [Fix] Fix sending pending logs after the first application start.
  • [Fix] Using ServicePointManager for setup TLS configuration breaks the ability to use any other TLS protocols except TLS1.2 in the clients' applications. We replaced using ServicePointManager to HttpClient API for applications with target framework version 4.7.1 or higher. For applications with the target framework version lower than 4.7.1 TLS connection is still configured via ServicePointManager.

iOS

  • [Feature] Improved AES token encryption algorithm using Encrypt-then-MAC data authentication approach.

Android

  • [Feature] Improved AES token encryption algorithm using Encrypt-then-MAC data authentication approach.

App Center Crashes

iOS

  • [Improvement] Update PLCrashReporter to 1.10.

App Center Distribute

Android

  • [Fix] Fix a rare deadlock case when a new version starts downloading and at the same moment the download status is checked.
  • [Fix] Fix passing pending intent flag for a completed download notification on Android lower then 23 API.

4.3.0

2 years ago

AppCenter

  • [Feature] Add a AppCenter.IsNetworkRequestsAllowed API to block any network requests without disabling the SDK.

Windows

  • [Fix] Fix infinite loop when old logs cannot be purged by a new one with a different channel name in a case when the storage is full.

App Center Crashes

WPF/WinForms

  • [Fix] Add obfuscation for username value in the stack trace.

iOS

  • [Fix] Merge the device information from the crash report with the SDK's device information in order to fix some time sensitive cases where the reported application information was incorrect.
  • [Improvement] Update PLCrashReporter to 1.9.0.

App Center Distribute

Android

  • [Fix] Fix crash during downloading a new release when minifyEnabled settings is true.
  • [Fix] Add a missing tag android:exported to the manifest required for Android 12.

App Center Distribute Play

Android

  • [Fix] Fix replacement of Distribute dependencies for publishing in Google Play.