Update sample app to test new Sentry features#270
Merged
Conversation
And run in in `release` variant to test `attachAnrThreadDump`
wzieba
commented
Aug 5, 2025
ParaskP7
approved these changes
Aug 6, 2025
Contributor
ParaskP7
left a comment
There was a problem hiding this comment.
👋 @wzieba !
I have reviewed and tested this PR as per the instructions, everything works as expected, thanks for the thorough testing instructions and TIL on tracks-demo-android, this makes testing so much easier for me! 🧪 x 🧪 ^ 🧪
isAttachAnrThreadDump
...
3. See a new Sentry issue reported. I couldn't find any additional data regarding ANR thread dump, but that's likely it's a very simple stacktrace from the sample app - I guess in production apps, in more complex scenarios we'll have some data on this.
👍
isStartProfilerOnAppStart
...
5. See that there's a new profile available.
👌
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a few changes to the sample app that allow to test #269
Testing
Before tests
cp gradle.properties-example gradle.propertiesand set a validsentryTestProjectDSN(tracks-demo-androidproject on A8c Sentry.isAttachAnrThreadDumpreleaseisStartProfilerOnAppStartImage
☝️ a sampling trace from a test method I've added (it waited 3s on the main thread).