0.14.0
Async APIs and Android strict mode
This release focuses on fixing Android strict mode issues (including Android 8 ones).
Since strict mode checks if you spend time reading storage on U.I. thread we had to make the following APIs asynchronous and is thus a breaking change on PCL and all targets:
{AnyClass}.Enabled
is now split intoGetEnabledAsync()
andSetEnabledAsync(bool)
MobileCenter.InstallId
is nowMobileCenter.GetInstallIdAsync()
Crashes.HasCrashedInLastSession
is nowCrashes.HasCrashedInLastSessionAsync()
Other changes
Android
- The Android crash reporting is now compatible with debugger attached (you need to continue execution after exception), Hockey App for Xamarin (only if initialized like getting started suggests) and
XA_BROKEN_EXCEPTION_TRANSITIONS=true
. This change is for Android only. - This release also includes changes from underlying Android SDK of the following versions:
iOS
- Fix null argument exceptions when passing null arguments to most APIs, an error is logged instead now.
- This release also includes changes from underlying iOS SDK:
- Xamarin SDK calls
MSCrashes.disableMachExceptionHandler()
automatically as it's not suitable in Xamarin environment.
UWP
- Fix various race conditions.
- Fix screen size reporting.
- Fix a bug where U.I. could be blocked for a long time when initializing push.
- Fix null reference exception when calling
SetCustomProperties
beforeStart
, now logs an error.