Sentry-java: Feature Request: capture native crashes in Android

Created on 28 Jan 2019  路  16Comments  路  Source: getsentry/sentry-java

We need to use Sentry in an Android project with native codes. It seems it fails to capture native crashes.
Is it possible to capture native crashes with current version of the SDK, if not is there any plan to add this feature in next versions?

Thanks in advance

Android enhancement

Most helpful comment

As brett mentioned, we are currently working on adding support for NDK, please stay tuned it's not that far off and we are determined to add it to the SDK.

All 16 comments

It's not possible currently, but we have planned support for NDK.

As brett mentioned, we are currently working on adding support for NDK, please stay tuned it's not that far off and we are determined to add it to the SDK.

@HazAT this is wonderful news. Any idea when we can expect an update to the timeline for when this will land? Even vague dates will help with our planning. Thank you!

Hi Sentry folks 馃憢 Do you have any estimated timelines on NDK support? Would love to explore Sentry but not having NDK support or a clear timeline on NDK support is a dealbreaker. Thanks!

We're working on sentrypad which provides the basis for an NDK support. There's a couple of releases of sentrypad and we're looking for feedback.

Obrigado, @bruno-garcia! 馃檹

hey people, we have a beta version of the new Android SDK which also supports NDK:
https://github.com/getsentry/sentry-android

This will require a migration as it's a major bump.
Feedback is welcomed on the new repo :)

Thanks.

@marandaneto is it possible to depend on this new version of sentry-android when using https://github.com/getsentry/sentry-react-native ? I'm not quite sure how they play together. Thanks :)

hey @JAStanton when the beta version moves to a stable version, sentry-react-native will depend on the new sentry-android, stay tuned :)

@marandaneto any rough idea when that will be? Is that like 6 months away or 1-2 years+?

@JAStanton I'm not the sentry-react-native maintainer, but I'll check with them and will come back to you asap.

@JAStanton It's definitely less than 6 months away.
I would say 1-2 months from now, depends when we make the first stable release of the new Android SDK. There is only one internal larger change we want to do.

@HazAT thank you and your team for all the hard work, keep it up 馃憤

@marandaneto thank you!

The Android SDK 2.0 has NDK support ootb.
Please upgrade it, the new repo sits at https://github.com/getsentry/sentry-android
Let us know if you find any issues, thanks :)

Was this page helpful?
0 / 5 - 0 ratings