Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Version 5.0.4

Compare
Choose a tag to compare
@ElektrojungeAtWork ElektrojungeAtWork released this 21 Nov 05:58
· 98 commits to develop since this release
db4c38a

This version contains a few bugfixes as well as the removal of an API that has been deprecated since HockeySDK 3.7.0-Beta.2.

  • Removal of deprecated API ExceptionHandler.saveException(Throwable exception, CrashManagerListener listener) has been deprecated since 3.7.0-beta.2. Use ExceptionHandler.saveException(Throwable exception, Thread thread, CrashManagerListener listener) instead. #317
  • Bugfix The SDK now deletes redundant crash reports. #318
  • Bugfix The SDK does no longer send the event that indicates the start of a session twice but once. There was no impact on session counts as the event was de-duplicated on the server. #321
  • Bugfix Fixes a potential deadlock when reading device information when saving an exception. #323
  • Bugfix Fixes a potential NPE when processing stacktraces. Thanks to Thomas Reis for reporting issue #331. #332

Breaking changes in version 5.0.0

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"/>