Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(iOS): fix 'secure' and 'httpOnly' values always being false #126

Merged

Conversation

abendi
Copy link
Contributor

@abendi abendi commented Aug 13, 2021

Summary

On iOS set() method always stores cookies with secure and httpOnly being false. This PR fixes it.
Possibly a breaking change for those, who assume they have been storing secure and httpOnly cookies.

Fixes #38

Note: this is my first community PR ever. 馃槆

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I mentioned this change in CHANGELOG.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)

@abendi
Copy link
Contributor Author

abendi commented Aug 26, 2021

@safaiyeh what do you think? 馃憖

@safaiyeh
Copy link
Member

Appreciate it! Lets ship it

@safaiyeh safaiyeh merged commit 354e9bb into react-native-cookies:master Aug 26, 2021
safaiyeh pushed a commit that referenced this pull request Aug 26, 2021
## [6.0.9](v6.0.8...v6.0.9) (2021-08-26)

### Bug Fixes

* **iOS:** fix 'secure' and 'httpOnly' values always being false ([#126](#126)) ([354e9bb](354e9bb))
@safaiyeh
Copy link
Member

馃帀 This PR is included in version 6.0.9 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Secure Cookie for IOS
2 participants