Releases: microsoft/appcenter-sdk-dotnet
Releases · microsoft/appcenter-sdk-dotnet
4.5.0
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 ofServicePointManager
in applications with target framework version4.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
andAnalytics.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
App Center
Windows
- [Feature] Add support for platform
WinUI in Desktop
. The target version ofWinUI
apps should benet5.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 version13.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 usingServicePointManager
toHttpClient
API for applications with target framework version4.7.1
or higher. For applications with the target framework version lower than4.7.1
TLS connection is still configured viaServicePointManager
.
iOS
- [Feature] Improved
AES
token encryption algorithm usingEncrypt-then-MAC
data authentication approach.
Android
- [Feature] Improved
AES
token encryption algorithm usingEncrypt-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
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.
4.2.0
AppCenter
- [Feature] In the App Center SDK was added support of strong-named signing assemblies for compatibility with applications that use strong-named signing. Read more about strong-named assemblies.
- [Fix] Fix SDK not sending events when application is packed to self-contained single-file executable.
iOS
- [Improvement] Use ASWebAuthenticationSession for authentication on iOS 12 or later.
App Center Crashes
Android
- [Fix] Fix formatting of stack trace in the
ErrorReport
.
App Center Distribute
Android
- [Fix] Fix
NullPointerException
occurring when settings dialog was intended to be shown, but there is no foreground activity at that moment. - [Fix] Fix a crash when download manager application was disabled.
- [Fix] Fix showing the title in the push notification while downloading a new release.
iOS
- [Fix] Fix
kMSACUpdateTokenRequestIdKey
never gets removed.
4.1.0
AppCenter
- [Feature] Add a
SetMaxStorageSizeAsync
API which allows setting a maximum size limit on the local SQLite storage. The default value is 10MiB.
iOS
- [Fix] Fix a crash when SQLite returns zero for
page_size
.
App Center Distribute
iOS
- [Feature] Add
WillExitApp
callback to distribute listener.
Android
- [Fix] Fix a crash when the app is trying to open the system settings screen from the background.
- [Fix] Fix browser opening when using a private distribution group on Android 11.
iOS/Android
- [Feature] Add
NoReleaseAvailable
callback to distribute listener.
App Center Crashes
Android
- [Fix] Fix removing throwable files after rewriting error logs due to small database size.
4.0.0
App Center
Android
- [Breaking change] Bumping the minimum Android SDK version to 21 API level (Android 5.0), because old Android versions do not support root certificate authority used by App Center and would not get CA certificates updates anymore.
iOS
- [Fix] Fix
NSInvalidArgumentException
when using non-string object as a key inNSUserDefaults
. - [Fix] Fix
NSDateFormatter
initialization in a concurrent environment.
App Center Crashes
iOS
- [Improvement] Update PLCrashReporter to 1.8.0.
App Center Push
App Center Push has been removed from the SDK and will be retired on December 31st, 2020.
As an alternative to App Center Push, we recommend you migrate to Azure Notification Hubs by following the Push Migration Guide.
3.4.3
3.4.2
3.4.1
App Center
WPF/WinForms
- [Fix] Fix exception handling when the app tries to access a locked database.
- [Fix] Fix getting device information when the application runs in partial trust mode.
App Center Analytics
iOS
- [Fix] Fix processing logs (e.g., events) emitted from the
applicationWillTerminate
application delegate method.
App Center Crashes
iOS
- [Improvement] Update PLCrashReporter to 1.7.2.
3.4.0
App Center
Android
- [Fix] Fix an
IncorrectContextUseViolation
warning when calculating screen size on Android 11. - [Fix] All SQL commands used in SDK are presented as raw strings to avoid any possible static analyzer's SQL injection false alarms.
WPF/WinForms
- [Fix] Fix exception handling if App Center is disabled during sending logs.
App Center Distribute
Android
- [Fix] Fix Distribute can't get updates for Realme devices which use Realme UI.
iOS
- [Fix] Obfuscate app secret value that appears as URI part in verbose logs when getting release updates info.
App Center Distribute Play
App Center Distribute Play is a package with stubbed APIs for Distribute module to avoid Google Play flagging the application for malicious behavior. It must be used only for build variants which are going to be published on Google Play. See the public documentation for more details about this change.