Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Fix "getCookie" on ios#156

Merged
thomasvidas merged 1 commit intocapacitor-community:masterfrom
FelixSchwarzmeier:get-cookie-ios-fix
Aug 11, 2021
Merged

Fix "getCookie" on ios#156
thomasvidas merged 1 commit intocapacitor-community:masterfrom
FelixSchwarzmeier:get-cookie-ios-fix

Conversation

@FelixSchwarzmeier
Copy link
Contributor

Currently, executing "getCookie()" on ios throws the followeing error: "getCookie() is not implemented on ios".
This PR fixes this issue.

@thomasvidas thomasvidas merged commit d4c9d12 into capacitor-community:master Aug 11, 2021
thomasvidas added a commit that referenced this pull request Nov 9, 2021
* Add data to the request if they are present. Don't fail based on the HTTP method (each HTTP method may have a body or not).

* Update README

Add note that we use ergon-master branch

* Update HttpRequestHandler.swift

Adjust data handling in the ios HttpRequestHandler to check the data, if available, for correctness and fail otherwise.

* Update HttpRequestHandler.swift

Remove duplicat code, sorry for that.

* Replace throw with reject for safety reasons

* Add data to the request if they are present. Don't fail based on the HTTP method (each HTTP method may have a body or not).

* Update HttpRequestHandler.swift

Adjust data handling in the ios HttpRequestHandler to check the data, if available, for correctness and fail otherwise.

* Update HttpRequestHandler.swift

Remove duplicat code, sorry for that.

* fix(iOS): pass http method to request functions on ios (#152)

* chore: release 1.1.1

* release: 1.1.2

* chore(iOS): remove local pods from project
* refactor: add postbuild script to install up to date pods
* refactor: change postbuild to prepublishOnly
* release: release 1.1.2

* refactor(android): JavaDoc and code cleanup

* fix(iOS): Add "getCookie" as plugin method for ios (#156)

* feat: Add support for disabling automatic HTTP redirects on android/ios (#157)

* Update HttpOptions
* Add support for disabling automatic HTTP redirects on android
* Add support for disabling automatic HTTP redirects on ios

* fix: default content-type consistent with native impl (#158)

* release: 1.2.0

* Replace throw with reject for safety reasons

* Revert "Update README"

This reverts commit aa6d19e.

* feat(web): pass-through string-type requests

* fix(ios): fix crash on json serialization failure

* feat(ios): write string body as-is

Co-authored-by: Stefan Hanselmann <stefan.hanselmann@ergon.ch>
Co-authored-by: graefenhain <88032701+graefenhain@users.noreply.github.com>
Co-authored-by: Stefan Hanselmann <69970522+shanselm-ergon@users.noreply.github.com>
Co-authored-by: Joe Flateau <joe@joeflateau.net>
Co-authored-by: Thomas Vidas <hello@thomasvidas.com>
Co-authored-by: Thomas Vidas <thomasvidas@users.noreply.github.com>
Co-authored-by: Felix Schwarzmeier <felixsla21@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants