Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Version 5.0.0

Compare
Choose a tag to compare
@ElektrojungeAtWork ElektrojungeAtWork released this 27 Sep 02:14
· 79 commits to master since this release

This version wrapps the latest native SDKs and makes sure the SDK is fully compatible with Android O and iOS 11. There have been no changes that are specifically about the Xamarin SDK as it is a simple wrapper around the native SDKs.

The most notable changes are:

  • The SDK is now supporting iOS 8 and later.
  • The SDK is now supporting Android API level 15 or later.
  • It's no longer possible to authenticate a user using a device identifier on Android.

Please read the full changelog below.

Changelog for HockeySDK-Android

5.0.2

  • [Bugfix] Fixes a NPE in FeedbackActivity. #303
  • [Bugfix] Fixes a potential deadlock in CrashManager.[#https://github.com/bitstadium/HockeySDK-Android/pull/308]
  • [Improvement] Fix potential NPE when calling MetricsManager.sessionTrackingEnabled() before calling MetricsManager.register(...). #310

5.0.1

  • [BUGFIX] Fix a bug in the Italian translation. #296
  • [IMPROVEMENT] Use different timestamp format for crash date and app start time. #297

5.0.0

Breaking Changes

This release comes with one major breaking change. HockeySDK 5.0.0 raises the minimum API level to 15.
In addition, we no longer support restricting builds by device id. The reason is that, with Android O, ANDROID_ID no longer ensures a consistent way of identification of a user.

To be ready for Android O, HockeySDK-Android now limits the WRITE_EXTERNAL_STORAGE permission with the maxSdkVersion filter. In some use cases, e.g. where an app contains a dependency that requires this permission, maxSdkVersion makes it impossible for those dependencies to grant or request the permission. The solution for those cases is to declare the tools:node="replace" manifest merging strategy later in the dependency tree:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>

Thx a lot to Lauri for notifying us.

Full changelog

In addition, this release contains the following changes:

  • [IMPROVEMENT] Support for Android O.
  • [IMPROVEMENT] Code scans no longer trigger warnings related to usage of ANDROID_ID as we are no longer using it.
  • [IMPROVEMENT] The SDK supports Android Strict Mode way better as it no longer violates it.
  • [IMPROVEMENT] We've improved the way we send Feedback attachments.
  • [IMPROVEMENT] The SDK no longer caches information about in-app updates to make sure updates are available immediately. The iOS SDK has behaved like this for a while and we decided to align the behavior across SDKs.
  • [IMPROVEMENT] Add the ability to when to show the UpdateFragment #280.
  • [IMPROVEMENT] Retrieving the last crash details is now asynchronous.
  • [BUGFIX] Metrics no longer leaks a connection.
  • [BUGFIX] It's no longer possible to circumvent the login UI by pressing the backbutton under certain circumstances #278.
  • [BUGFIX] Fix a crash in MetricsManager #279.
  • [BUGFIX] Fix authentication by email #288.
  • [BUGFIX] Fix a regression that was introduced in 5.0.0-beta.1 that prevented attaching screenshots to work #289.
  • [BUGFIX] Fix Feedback notifications on Android #290.
  • [IMPROVEMENT] Add the ability to when to show the UpdateFragment #280.
  • [IMPROVEMENT] CrashManagerListener now has onNoCrashesFound() to notify you in case no new crashes were found #280.
  • [DEPRECATION] We've removed the onCrashesFound callback in CrashManagerListener as it has been deprecated since HockeySDK 3.0.0.

Changelog for HockeySDK-iOS 5.0.0

This version drops support for iOS 7. There is no other breaking change at this point.

  • [FEATURE] Added support for Metrics in app extensions. #449
  • [FEATURE] User Metrics can now be enabled after it was disabled. #451
  • [IMPROVEMENT] The code has been cleaned up as we have decided to drop support for iOS 7.
  • [IMPROVEMENT] All properties of type NSString now use the copy attribute.
  • [IMPROVEMENT] Use UIAlertController in Feedback instead of UIAlertView. #460
  • [IMPROVEMENT] Don't use UIAlertView but UIAlertController.#446
  • [IMPROVEMENT] BITAttributedLabel is now based on TTTAttributedLabel 2.0. #450
  • [BUGFIX] Fix a bug in BITAuthenticator. #447
  • [BUGFIX] Fix a bug in BITImageAnnotation. #453
  • [BUGFIX] The logic that makes sure that the directory for HockeySDK-iOS is excluded from backups was changed, to make sure it doesn't block app launch #443.
  • [BUGFIX] Fix bugs in the Feedback UI on iOS 11. #459