Closed
Description
Description
react-native 0.44 introduced withCredentials
flag in XHRs, which, if not specified in every fetch
request, defaults to false
.
This change conflicts with the default behavior in native. In the iOS native SDK and the Android native SDK, when making a native HTTP request, cookies are sent by default.
We rarely have agreement between the platforms, but for the last 10 years they both agree on this security model for apps.
This greatly affects projects relying on cookies with their requests.
Additional Information
- React Native version: 0.44
- Platform: both
- Development Operating System: macOS