Version 5.0.0
Changes since 5.0.0-beta.1
- [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 hasonNoCrashesFound()
to notify you in case no new crashes were found #280. - [IMPROVEMENT] Retrieving the last crash details is now asynchronous.
- [DEPRECATION] We've removed the
onCrashesFound
callback inCrashManagerListener
as it has been deprecated since HockeySDK 3.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.
- [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 hasonNoCrashesFound()
to notify you in case no new crashes were found #280. - [DEPRECATION] We've removed the
onCrashesFound
callback inCrashManagerListener
as it has been deprecated since HockeySDK 3.0.0.
Updating the HockeySDK
We didn't remove any API with this release. Just update to this version and you are good to go!
Acknowledgments
Thanks to @bmourat @MatkovIvan and @friederbluemle for their input and help! =)