@alex-margaritov alex-margaritov released this Aug 27, 2018

Assets 3

This is a maintenance release for the SDK. It contains important bugfixes, including some that make the SDK compatible with Android Pie.

  • [Bugfix] #395 – NullPointerException in DownloadFileTask. PR #396
  • [Bugfix] #391 - FileNotFoundException when attaching an image to feedback. PR #393
  • [Bugfix] #377 - Prevent OutOfMemoryError in case of reading/sending crash reports with very long stacktraces. #PR 378 PR #392
  • [Bugfix] #385 - Fix "untagged socket" violation in strict mode of Android O PR #387
  • [Bugfix] Fix the error message that gets logged by the SDK to logcat in case a saved stacktrace is empty. PR #375
  • [Bugfix] #369 - Adjust timeout interval for a http connection. PR #370
  • [Bugfix] Fix a glitch in the feedback UI. PR #353
  • [Bugfix] Fix multiple causes for deadlocks. PR #348

@ElektrojungeMS ElektrojungeMS released this Jan 11, 2018 · 54 commits to develop since this release

Assets 3
  • [Bugfix] Fix issue in persistence logic that could cause Session information to be inaccurate. #340
  • [Improvement] Remove left-to-right attribute in case the app that integrates the SDK doesn't use that. Thx to Steven for this contribution. #335
  • [Improvement] Improve error message for the Feedback feature. #341
  • [Improvement] It's now possible to call setUserId for Feedback. #339

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

@ElektrojungeMS ElektrojungeMS released this Nov 21, 2017 · 71 commits to develop since this release

Assets 3

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

@ElektrojungeMS ElektrojungeMS released this Oct 3, 2017 · 124 commits to develop since this release

Assets 3

This release now limits the number of crashes that are stored by the SDK while the device is offline to 100 Crashes. HockeySDK-Android will stop to collect crashes until the number of unsent crashes drops below the limit of 100 unsent crashes.

  • [BUGFIX] Fixes a possible OutOfMemoryError exception. This only occurs when a very large number of crashes – several 100k or more – wasn't sent to the server. #313

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

@ElektrojungeMS ElektrojungeMS released this Sep 26, 2017 · 144 commits to develop since this release

Assets 3
  • [Bugfix] Fixes a NPE in FeedbackActivity. #303
  • [Bugfix] Fixes a potential deadlock in CrashManager.#308
  • [Improvement] Fix potential NPE when calling MetricsManager.sessionTrackingEnabled() before calling MetricsManager.register(...). #310

Thx to Mourat and Jarred for their contributions!

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

@ElektrojungeMS ElektrojungeMS released this Sep 15, 2017 · 155 commits to develop since this release

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

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

@ElektrojungeMS ElektrojungeMS released this Sep 1, 2017 · 168 commits to develop since this release

Assets 3

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 has onNoCrashesFound() 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 in CrashManagerListener 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 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.

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! =)

Pre-release

@ElektrojungeMS ElektrojungeMS released this Aug 3, 2017 · 217 commits to develop since this release

Assets 3

Breaking Changes

This release comes with one major breaking change. HockeySDK 5.0.0-beta.1 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.

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.
  • [BUGFIX] Metrics no longer leaks a connection.

Updating the HockeySDK

We didn't remove any API with this release. Just update to this version and you're good to go!

Acknowledgments

Thanks to @bmourat @MatkovIvan and @friederbluemle for their input and help! =)

@ElektrojungeMS ElektrojungeMS released this Jun 23, 2017 · 312 commits to develop since this release

Assets 3
  • [FIX] Fix a resource leak in Sender #235.
  • [FIX] Fix pissibility to bypass authentication #236.
  • [FIX] Fix the progressbar when sending feedback #237.
  • [FIX] Fix potential OOM crash by limiting the number of form fields in a request #238.
  • [FIX] Fix the dates in the Feedback UI #239.
  • [FIX] Fix ConcurrentModificationException in metrics feature #242.
  • [FIX] Fix potential crash related to multi-threading in Channel #248.
  • [FIX] Fix the focus in the Feedback UI, this also improves accessibility #249.
  • [IMPROVEMENT] When debugging, the SDK uses smaller batch sizes and timing intervals until metrics are sent to make debugging easier #231.
  • [IMPROVEMENT] Fix some strict mode violations #241.
  • [IMPROVEMENT] Improve accessibility for Feedback attachments #251.
    *[IMPROVEMENT] Send batched events when the app goes into background.
    #252.

@ElektrojungeMS ElektrojungeMS released this Apr 27, 2017 · 359 commits to develop since this release

Assets 3
  • [FIX] Catch all kinds of exceptions when trying to obtain package information #214 thanks to Ivan Matkov and Jared Burrows.
  • [FIX] Make sure the SDK doesn't crash when the Internet permission has been revoked on rooted devices #196 thanks to Ivan Matkov and Stan Kocken.
  • [FIX] Make sure we handle all possible exceptions when checking for network connectivity #196 thanks to Ivan Matkov and Caleb Tseng.
  • [FIX] The onCrashesNotSent() callback is now triggered in case there is no network connection and the SDK tries to send a crash #223. Thanks to Max for fixing this.
  • [IMPROVEMENT] CrashManager and MetricsManager use the same versioning logic thanks to Murat Baysangurov.
  • [IMPROVEMENT] FeedbackActivity now uses accessibility labels thanks to Murat Baysangurov.
  • [IMPROVEMENT] CrashManager and FeedbackManager now have additional register() APIs that don't take the app identifier as a parameter #226 thanks to Matthias Wenz and Graham Mueller.