question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

responseBody on IOS

See original GitHub issue

Hello, I have tried a few workarounds to try and get a response body on IOS but to no avail. My use case is the server is sending the URL back after the upload as a JSON string.

If anyone has any idea or knows what to do?

I tried to add a didReceiveData:(NSData *)receivedData delegate but no luck.

Cheers,

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
StevePottercommented, Apr 27, 2017

Thanks guys. I’ll get the PR in today and publish to npm.

1reaction
chrisharrisoncommented, Apr 26, 2017
  1. The use case is uploading a large image to an image service where the response is the ID of the newly stored image.

  2. Android supports responseBody so why would you want to continue with a discrenpency between iOS and Android?

On 26 Apr 2017 19:34, “Stephen Potter” notifications@github.com wrote:

Hey all, why do you need this? I’m trying to understand the use case.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Vydia/react-native-background-upload/issues/23#issuecomment-297501872, or mute the thread https://github.com/notifications/unsubscribe-auth/AASE-jMYXio7KCJdsjYRuap-atrPNt2Bks5rz441gaJpZM4M3o5A .

Read more comments on GitHub >

github_iconTop Results From Across the Web

responseBody | Apple Developer Documentation
The JSON data that returns in the response from the App Store. App Store Receipts 1.0+. Properties.
Read more >
Any way to get the response body during HTTP errors?
I'm hitting an API that will occasionally throw a HTTP 403 error, and the response body can give some extra information in the...
Read more >
Response Body not in Cache for iOS 15 · Issue #568 - GitHub
When trying to access the network request body on iOS 15, FLEX says Response Body: not in cache; This seems to be only...
Read more >
iOS MobileRequestError responseBody limit - Mobile
NewRelicAgent (6.4.0) on iOS 11.0 + As the documentation states, the responseBody of the MobileRequestError is limited to ~ 4000 bytes.
Read more >
The Ultimate Handbook On App-Store Receipt Validation
iOS developers are familiar with StoreKit, a framework that allows them to monetize apps ... the App Store decoded receipt response body may...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found