Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Context for Android is not possible #5201

Closed
JortdeBokx opened this issue Jun 23, 2022 · 4 comments
Closed

Source Context for Android is not possible #5201

JortdeBokx opened this issue Jun 23, 2022 · 4 comments

Comments

@JortdeBokx
Copy link

Core or SDK?

Platform/SDK

Which part? Which one?

Android

Description

I have been looking into uploading source context for my (on-premise) Android apps.
As described by documentation, this should be possible. However according to this issue it is not.

Suggested Solution

As I spent many hours trying to get some solution working, I feel that the documentation should indicate it currently is not a supported feature, and should be updated again when it is possible to upload Java source context.

@getsentry-release
Copy link
Contributor

Routing to @getsentry/team-mobile for triage. ⏲️

@marandaneto
Copy link
Contributor

This is possible for Android with NDK events.
https://docs.sentry.io/platforms/android/using-ndk/
If you're using https://docs.sentry.io/platforms/android/gradle/
Enable the includeNativeSources flag.
Java and Kotlin code won't have source context, but C and C++ events will.

@marandaneto
Copy link
Contributor

@JortdeBokx makes sense, thanks.
@romtsn @adinauer let's amend the docs to state that this is only for Native events (NDK).

@marandaneto marandaneto removed the Team: Mobile Platform team-mobile label Jun 23, 2022
@romtsn
Copy link
Member

romtsn commented Jul 13, 2022

dupe of getsentry/sentry-java#633, please track it there @JortdeBokx

@romtsn romtsn closed this as completed Jul 13, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

5 participants