Releases: microsoft/appcenter-sdk-unity
Releases · microsoft/appcenter-sdk-unity
4.4.0
App Center
- [Breaking change] Remove
AppCenter.SetCustomProperties
API.
iOS
- [Fix] Fix throw an exception when checking to authenticate MAC value during decryption.
Android
- [Fix] Fix crash in
AppCenterLoader
during callgetContext()
API when an application uses a custom context for initializing SDK. Such context should containgetApplicationContext()
API which must return default Android application context.
App Center Analytics
- [Feature] Add
Analytics.EnableManualSessionTracker
andAnalytics.StartSession
APIs for tracking session manually. - [Feature] Increase the interval between sending logs from 3 to 6 seconds for the backend load optimization.
App Center Distribute
Android
- [Feature] Replace installing a new release using the deprecated intent action
ACTION_INSTALL_PACKAGE
with thePackageInstaller
API. - [Feature] Remove the download manager task if the download doesn't start within 10 seconds.
- [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.
iOS
- [Fix] Cancel authorization process if application is not active, otherwise
ASWebAuthenticationSession
will fail opening browser and update flow will end up being in a broken state. This only affects updating from a private distribution group.
4.3.0
AppCenter
UWP
- [Fix] Fix sending pending logs after the first application start.
iOS/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.2.0
AppCenter
- [Feature] Add a
AppCenter.IsNetworkRequestsAllowed
API to block any network requests without disabling the SDK.
Android
- [Fix] Remove
android:allowBackup
andandroid:supportsRtl
fromAndroidManifest.xml
inappcenter-loader
, to prevent these attributes from merging into the finalAndroidManifest.xml
in a client app.
UWP
- [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
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.
4.1.1
AppCenter
UWP
- [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/Android
- [Feature] Add
NoReleaseAvailable
callback to distribute listener. - [Fix] Fix show the custom dialog update after the application start.
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.
App Center Crashes
Android
- [Fix] Fix removing throwable files after rewriting error logs due to small database size.
4.1.0
AppCenter
UWP
- [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/Android
- [Feature] Add
NoReleaseAvailable
callback to distribute listener. - [Fix] Fix show the custom dialog update after the application start.
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.
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 Analytics
- [Fix] Fix naming conflict with iOS 14 private Apple framework.
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.3.1
App Center
iOS
- [Fix] Fix overriding custom
URLScheme
in the post-build script.
App Center Analytics
iOS
- [Fix] Fix processing logs (e.g., events) emitted from the
applicationWillTerminate
application delegate method.
App Center Crashes
Android/iOS
- [Fix] Fix sending attachments with a
null
text value.
iOS
- [Improvement] Update PLCrashReporter to 1.7.2.
App Center Distribute
iOS
- [Fix] Fix manually checking for updates before
applicationDidBecomeActive
event.
3.3.0
This version has a breaking change on iOS - it drops Xcode 10 support, Xcode 11 is a minimal supported version now.
App Center
Android
- [Fix] Fix possible delays in UI thread when queueing a large number of events.
- [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.
iOS
- [Fix] Fix crash when local binary data (where unsent logs or unprocessed crashed are stored) is corrupted.
- [Fix] When carrier name is retrieved incorrectly by iOS, show
nil
as expected instead of "carrier" string.
App Center Analytics
iOS
- [Fix] Fix
Analytics.TrackEvent
crash if event properties containnull
value.
App Center Crashes
iOS
- [Improvement] Update PLCrashReporter to 1.7.1.
- [Fix] Fix reporting stacktraces on iOS simulator.
- [Fix] Add attachments verification in
TrackError
function to handle explicitly passednull
array to variable arguments parameter.
App Center Distribute
Now when Distribute is turned off in AppCenterBehavior, it is unlinked from the application, in order to avoid Google Play flagging the application for malicious behavior. It must be turned off for build variants which are going to be published on Google Play. See the public documentation for more details about this change.
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.
3.2.1
App Center
iOS
- [Fix] Fix reporting crashes caused by a thread exception.
- [Improvement] Use namespaced
NSUserDefaults
keys with the MSAppCenter prefix for all the keys set by the SDK. Fixed a few keys missing namespace.
App Center Crashes
iOS
- [Improvement] Update PLCrashReporter to 1.6.0.
3.2.0
App Center
- [Fix] Fix SDK doesn't work without
Distribute
package.
iOS
- [Fix] Add missing system dependencies that aren't implicitly included when
APPCENTER_DONT_USE_NATIVE_STARTER
flag is used.
UWP
- [Fix] Fix retry sending logs after timeout exception.
App Center Crashes
- [Fix] Remove the multiple attachments warning as that is now supported by the portal.
Android
- [Fix] Change minidump filter to use file extension instead of name.
- [Fix] Fix removing minidump files when the sending crash report was discarded.
iOS
- [Improvement] Update PLCrashReporter to 1.5.1.
App Center Distribute
Android
- [Feature] Automatically check for update when application switches from background to foreground (unless automatic checks are disabled).
- [Fix] Fix checking for updates after disabling the Distribute module while downloading the release.