react-native-hockeyapp icon indicating copy to clipboard operation
react-native-hockeyapp copied to clipboard

Android addMetadata not adding Metadata to crash reports

Open ncnlinh opened this issue 8 years ago • 2 comments

According to https://github.com/bitstadium/HockeySDK-Android/blob/develop/README.md#documentation,

Starting with HockeyApp 3.6.0, you can add additional meta data (e.g. user-provided information) to a crash report. To achieve this call CrashManager.handleUserInput() and provide an instance of net.hockeyapp.android.objects.CrashMetaData.

This is not yet implemented

ncnlinh avatar Apr 13 '16 21:04 ncnlinh

@ncnlinh The comment you referenced isn't related to the addMetadata method. You should be able to call addMetadata and have the specified data show up in the Description section of a crash report. Check out the the Cordova SDK for details on where you would find this info in the HockeyApp portal.

If you're not seeing this work, then it would be a bug with the addMetadata method and not with the HockeyApp Android SDK.

lostintangent avatar Apr 16 '16 21:04 lostintangent

@lostintangent It is a bug with the method. I wrote my own module to bridge the HockeyApp Android SDK and it worked for me.

ncnlinh avatar Apr 18 '16 18:04 ncnlinh