Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

- Add support for Expo Router navigation tracking ([#1270](https://github.com/Instabug/Instabug-React-Native/pull/1270)).

### Fixed

- Fix APM network logging on iOS when the response body is missing or empty. ([#1273](https://github.com/Instabug/Instabug-React-Native/pull/1273)).

## [13.3.0](https://github.com/Instabug/Instabug-React-Native/compare/v13.2.0...v13.3.0) (August 4, 2024)

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/utils/XhrNetworkInterceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default {
const _response = this._response;
cloneNetwork.requestBody =
typeof _response === 'string' ? _response : JSON.stringify(_response);
cloneNetwork.responseBody = null;
cloneNetwork.responseBody = '';
}

if (this.response) {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/XhrNetworkInterceptor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ describe('Network Interceptor', () => {
expect.objectContaining({
errorDomain: 'ClientError',
errorCode: 0,
responseBody: null,
responseBody: '',
}),
);
});
Expand Down