nativescript-community / https

Secure HTTP client with SSL pinning for Nativescript - iOS/Android
https://nativescript-community.github.io/https/
Other
51 stars 42 forks source link

Content on android and IOS are different #73

Closed kefahB closed 10 months ago

kefahB commented 3 years ago

Hi @EddyVerbruggen ,

I've just migrated my projects to NS7 and I realized that the response on android and IOS are different !

For example if the server return status different then 200 for example 301, android will return content as string but IOS will trigger the AFFailure without content on the response !!

I think since Nativescript it is a Javascript world, the response should be identique on both platforms, and especially response.content should return a json object.

Please give it a try.

kefahB commented 3 years ago

Hi @farfromrefug,

What do you think about this ?

farfromrefug commented 3 years ago

@kefahB sorry missed this. Can you fix the conflicts? I ll trust you that it works as i always use useLegacy

kefahB commented 3 years ago

@farfromrefug conflict was resolved .. please give it a try before merging.

Thanks

kefahB commented 3 years ago

@farfromrefug did you try ? need to push a new release before 15 novembre ;)

farfromrefug commented 3 years ago

@kefahB how can i test this? Please create a way to test this in the demo or something. I dont really have much time to test this, especially as i dont use it. Thanks

farfromrefug commented 10 months ago

@kefahB it should be integrated in latest version. thanks