Unable to make request with fetch after authorizing with certificate on iOS native side #26388
Labels
Bug
🌐Networking
Related to a networking API.
Platform: iOS
iOS applications.
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
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 version:
React Native Environment Info:
System:
OS: macOS 10.14.6
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 113.96 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.8.0 - /usr/local/bin/node
npm: 6.10.2 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 27, 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.9 => 0.59.9
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce
Expected to happen:
Get data in response from active session.
The text was updated successfully, but these errors were encountered: