upgrade-support icon indicating copy to clipboard operation
upgrade-support copied to clipboard

Update from 0.70.0 to 0.71.0 breaks functionality to get cookie with httpOnly enabled on iOS

Open jacmGlobant opened this issue 2 years ago • 0 comments

Environment

System: OS: macOS 13.5 CPU: (10) arm64 Apple M1 Pro Memory: 101.48 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.5.0 - /opt/homebrew/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 9.8.0 - /opt/homebrew/bin/npm Watchman: 2023.08.07.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.1 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0 Android SDK: Not Found IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9619390 Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild Languages: Java: 11.0.18 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.0 => 0.71.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Things I’ve done to figure out my issue

I used the upgrade helper, I updated dependencies with npm, clean all, erased all node_modules and installed again, and the same with cocoapods (delete all and i tried with deintegrate too)

Upgrading version

0.70 to 0.71

Description

I have an issue to get the cookie with httpOnly enabled, the problem seems is with WKHTTPCookieStore library no get the cookie (i tried buidl my own implementation and with react-native-cookie and nothing worked) and with RN 0.70 is working normally, at the beginning i thought that was a problem with something in iOS but i check all the changes done with iOS and all seems that is the same with RN version 0.70 there aren't a meaningful change to broke this library

I appreciate any information that you can share with me, i need this functionality to be able to migrate to 0.71 and later versions

Reproducible demo

jacmGlobant avatar Aug 17 '23 18:08 jacmGlobant