Skip to content

[React Native] API calls don't work when using chrome debugger #929

Closed
@Amplifiyer

Description

@Amplifiyer

Describe the bug
When chrome debugger is attached to the ios simulator (or Android emulator), calls to AWS services do not finish for a long time. Making another service call triggers previous call to finish. For instance let's say the app logs Sending Request before making the request and Request succeeded once the request completes, we only see Sending Request but not Request succeeded until other API call is made.

SDK version number
Latest alpha client versions as of now.

Is the issue in the browser/Node.js?
React Native

Details of the browser/Node.js version
I'm using React Native 0.61.5 and RN CLI to create the app.

To Reproduce (observed behavior)

  • Create a RN app using React Native CLI
  • Add a function that calls S3:PubObjects API and add console.log before and after the call.
  • Start Remote debugging in the simulator/emulator and open/attach chrome debugger.
  • Call the function and observe that only first log gets printed.
  • Call the function again and you'll see the response from the first call but again the response from the second call is missing.

It doesn't happen when not using chrome debugger.

Expected behavior
There shouldn't be any issues using RN with chrome debugger.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions