facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.52k stars 24.27k forks source link

Unable to make request with fetch after authorizing with certificate on iOS native side #26387

Closed ashotosipyan closed 5 years ago

ashotosipyan commented 5 years ago

I have project which needs to authorize client with personal certificate, as react-native cannot do that request I have a bridge module and do that on objective-c, after successful authorization I get session in NSURLSession dataTask and cookies. I send cookies to js for next REST request with fetch, but get error of certificate. On native side all requests works fine. I'm just wondering if anybody can give an advice how to solve that problem, I think that with fetch I'm just losing my current session or something like that.

react-native-bot commented 5 years ago

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

👉 Click here if you want to report a reproducible bug or regression in React Native.