Releases: bitstadium/HockeySDK-Android
Version 4.0.0
This is the first release of the 4.0 line of our HockeySDK.
With this release, our major new feature is User Metrics.
If you're already using our SDK, it's as simple as upgrading to Version 4.0.0 of the SDK and add the following code:
//add this import
import net.hockeyapp.android.metrics.MetricsManager;
//add this to your main activity's onCreate()-callback
MetricsManager.register(this, getApplication());
Please do note, that auto collection of users and sessions only works on Android API level 14 or higher.
Apart from this, here's the list of other changes:
Version 4.0.0
- [UPDATE] Fix potential handler leaks in FeedbackActivity, LoginManager and LoginActivity
- [UPDATE] Fix implied default locale for app size calculation
- [BUGFIX] Fix bug in authorization logic that affected restricted builds. If you are using this HockeyApp's authentication feature, please read the article in our knowledgebase.
Version 4.0.0-alpha.3
- [UPDATE] Integrate HockeySDK 3.7.2
- [BUGFIX] Fix issues with user metrics pre-ICS devices
Version 4.0.0-alpha.2
- [UPDATE] Integrate HockeySDK 3.7.1
Version 4.0.0-alpha.1
- [NEW] Add
MetricsManager
to enable user and session metrics.
Version 4.0.0-beta.1
The first pre-release of our new major update is now available as a public beta to everyone. The major new feature is general availability for our User Metrics feature. Look into our knowledge base to get started with User Metrics.
Please do note, that auto collection of users and sessions only works on Android API level 14 or higher.
Version 3.7.2
The second maintenance release for our Android SDK 3.7 line is available now. It includes fixes and improvements to our new ProGuard setup, as well as some minor bug fixes and we fixed some lint warnings as well. For details please check out the release notes below.
- [IMPROVEMENT] Improved ProGuard configuration to minimize the footprint of the SDK against the 65K reference limit. Added a section on ProGuard to our GitHub documentation.
- [IMPROVEMENT] Made customization of the feedback view easier by providing an entry point in
FeedbackActivity
. - [BUGFIX] Use the correct string resources for the
CrashManager
dialog buttons. #139 - [BUGFIX] Localized feedback toast strings. #140
- [BUGFIX] Removed erroneous
tools:ignore
instruction to correctly handle the allowBackup-attribute. #141
Version 3.7.1
Our first maintenance release for our Android SDK is now publicly available. You can now check whether your app crashed in the last session and retrieve details about the crash in question. We also added more fine-grained control over the SDK's logging behavior, a user-contributed Spanish localization, and improved our ProGuard integration. For more details see the release notes below.
- [NEW] Crash reporting learned new tricks from its iOS counterpart: You can now check if your app crashed in the last session and get crash details through
CrashManager
- [NEW] The SDK includes it's own
HockeyLog
-class that allows for fine-grained control over the amount of logs written to LogCat. - [NEW] Added Spanish localization. Thanks a lot to Rodrigo Alvarez for the contribution.
- [IMPROVEMENT] We've added a section to our documentation that explains the advanced configuration of Android permissions. (#124)
- [IMPROVEMENT] We've added a section on how to provide your own strings & localization to our documentation. (#116)
- [IMPROVEMENT] We play nicer with ProGuard: we've prefixed our resources and adjusted the ProGuard settings for the SDK. #121
- [BUGFIX] Fixed a crash in
LoginTask
caused by an IOException when authorizing the user by email only, and connected to wifi without internet. - [BUGFIX] Fixed erroneous debug messages when creating the storage directory structure. #128
- [BUGFIX] Use separate strings for the authorization UI. #133
Version 3.7.0
With this version, we move the SDK to a Gradle build using Android Studio. The App ID is now loaded from the module's Gradle file and there's no more need to include permissions or activities for our SDK – they are now automatically included through manifest merging.
The new integration looks as follows:
-
Add the dependency to your module:
dependencies { compile 'net.hockeyapp.android:HockeySDK:3.7.0' }
-
Add the manifest placeholder to your module (typically in the
defaultConfig
-closure):defaultConfig { applicationId "com.company.exampleapp" minSdkVersion 9 targetSdkVersion 23 //.... manifestPlaceholders = [HOCKEYAPP_APP_ID: $YOUR_HOCKEYAPP_APP_ID] }
You need to replace
$YOUR_HOCKEYAPP_APP_ID
with your App ID from HockeyApp. -
Add the following meta-data to your module's AndroidManifest.xml:
<meta-data android:name="net.hockeyapp.android.appIdentifier" android:value="${HOCKEYAPP_APP_ID}" />
-
Now you can simply register the managers in your preferred activity:
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Your own code to create the view... UpdateManager.register(this); } @Override protected void onResume() { super.onResume(); CrashManager.register(this); }
Notice how you do not need to provide the App ID to the managers, instead they are retrieved from the manifest automatically. This is particularly handy if you have different product flavors with different App IDs.
Building an AAR also allows us to integrate resources instead of just code. All localized strings are now in the resources directory, so you can easily override them.
Finally, moving to Gradle allowed us to use continuous integration, so every PR you create will now be automatically checked.
Here is the full changelog:
- [NEW] SDK is now built with Gradle in Android Studio
- [NEW]
CrashManager
,UpdateManager
,FeedbackManager
, andLoginManager
have newregister()
-methods which determine the app identifier automatically from the app's manifest - [NEW] Permissions and activities are now automatically added through manifest merging
- [NEW] String resources are now in the
strings.xml
file, so you can override them easily - [NEW] Crashes now include thread name and ID. You can find them in the crash log section in the backend by clicking "View raw log" (#102)
- [NEW] Added German & French localization
- [UPDATE] SDK now targets Android 6.0 (API level 23), requires Android 2.3 (API level 9) as minimum
- [UPDATE] Documentation update on how to use and customize your usage of the SDK, e.g. how to make use of HockeyApp's authentication feature
- [IMPROVEMENT] Moved user interface to resources for more flexibility in the future
- [IMPROVEMENT] Added build checks using Travis CI
- [IMPROVEMENT] Option to prefill feedback UI with the user's name and email (thanks to PR #110)
- [FIX] Fixed several potential issues identified by Lint
- [BUGFIX] Fixed an issue where we couldn't detect if an app was installed from the Play store or through ADB on Xiaomi devices (#99)
HockeySDK-Android-3.7.0-rc.1
Moving to a new build system has been a major effort, so we gladly appreciate your help in the final testing of this release.
Feel free to reach out to us if you have feedback or run into any issues.
- [IMPROVEMENT] Option to prefill feedback UI with the user's name and email (PR #110)
- [BUGFIX] Updated French localization
- [BUGFIX] Fix the feedback UI when drawing
- [BUGFIX] Update UI now shows up when an update is available
HockeySDK-Android 3.7.0-beta.2
Switching to Gradle as a build system in 3.7.0-beta.1 allowed us to focus on improving various aspects of the SDK under the hood and making a lot of minor improvements here and there.
- [NEW] Crashes now include thread name and ID. You can find them in the crash log section in the backend by clicking "View raw log" #102
- [NEW] Added French Localization
- [NEW] Added more information about how to use and customize your usage of the SDK to our readme, e.g. how to make use of HockeyApp's authentication feature
- [IMPROVEMENT] Moved user interface to resources for more flexibility in the future
- [IMPROVEMENT] Added build checks using Travis CI
- [FIX] Fixed a couple of lint warnings
- [FIX] Fixed an issue where we couldn't detect if an app was installed from the play store or through ADB on Xiaomi devices #99
Version 3.7.0-beta.1
This is our first beta for the new 3.7-branch. We moved to Gradle and Android Studio as a build system, making the integration and usage much more flexible.
Changelog
- [NEW] SDK is now built with Gradle in Android Studio
- [NEW]
CrashManager
,UpdateManager
,FeedbackManager
, andLoginManager
now haveregister()
-methods which determine the app identifier automatically from the app's manifest - [NEW] Permissions and activities are now automatically added through manifest merging
- [NEW] Added a sample app project to the SDK to demonstrate integration of the features
- [NEW] String resources are now in the
strings.xml
file, so you can override them easily - [NEW] We have a German localization. More languages to come, stay tuned.
- [UPDATE] SDK now targets Android 6.0 (API level 23), requires Android 2.3 (9) as minimum
- [FIX] Fixed several potential issues identified by lint.
Version 3.6.2
We have pushed an update for our Android SDK that fixes an issue with network connectivity.
Make sure to include the following additional dependency in your app's Manifest.xml
:
<uses-permission android:name="ACCESS_NETWORK_STATE" />
Changelog
- [FIX] Fixed a crash that would occur when trying to send feedback without network connectivity