-
-
Couldn't load subscription status.
- Fork 460
feat(replay): Adding OkHttp Request/Response bodies #4796
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
Open
43jay
wants to merge
28
commits into
main
Choose a base branch
from
43jay/MOBILE-935
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b8555e2
Update dsn for testing
43jay ca28040
Enable replay verbose logging
43jay 5397e9d
Point dsn to sentry-android project
43jay 71ed70e
Add HTTP Request Trigger to sentry-samples-android app
43jay f2ce22e
[replay] Make DefaultReplayBreadcrumbConverter the default BeforeBreaβ¦
43jay 201102a
[replay] Add data classes for NetworkDetails
43jay 724ec42
[DNL] Force dashboard to show request/response bodies
43jay 2d08e7b
Move BeforeBreadcrumbCallback initialization to after user config
43jay ebc5ff3
bugfix: Update Breadcrumb #hashcode to be consistent with #equals
43jay 122a8a6
Initial NetworkDetails extraction logic
43jay 6964a53
Add FAKE_OPTIONS for testing
43jay 25c42c7
DefaultReplayBreadcrumbConverter properly manages NetworkRequestData β¦
43jay 308072b
Extract bodies of okhttp requests/responses
43jay 5836ef1
Check-in sentry-android-replay.api
43jay d9f8254
Cleanup
43jay 6b6f3fe
Linter
43jay cadc529
Linter and clean-up unused code
43jay 465b6e5
Add additional http request types to sentry-samples app for testing
43jay 6ab8e03
Cleaning up logging
43jay d3f1a24
Formatting
43jay 9eba521
Add body too large http request types to sentry-samples app
43jay 8deffe9
Properly handle content bodies that are too large
43jay 669c8a3
Cleanup DefaultReplayBreadcrumbConverterTest
43jay 8b29cdd
Address cursor[bot] nullpointer dereference comment
43jay 4bc5b77
Disable Network Detail extraction
43jay 177ae0c
Revert "Point dsn to sentry-android project"
43jay a204a40
Revert "Enable replay verbose logging"
43jay 6629e94
Revert "Update dsn for testing"
43jay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this currently has a bug if someone excludes the
-replaymodule from the build, then this would return aNoOpReplayBreadcrumbConverterimplementation which does not currently delegate to the user-definedbeforeBreadcrumbcallback. So we'd be effectively swallowing the breadcrumb in here.Given my comment here, if we go for that impl, we could change to instantiating and setting
DefaultReplayBreadcrumbConverterhere:I guess we still have to check for no-op here, because RN and Flutter define their own converters, e.g. see this