Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Bug: Can't Set Cookies with Android Http Module #63

Open
ghost opened this issue Oct 28, 2016 · 0 comments
Open

Bug: Can't Set Cookies with Android Http Module #63

ghost opened this issue Oct 28, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 28, 2016

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Yes

Tell us about the problem

Due to CookieManager, cookies set in the options.headers for http.request are ignored.

This leads to different behavior on Android and iOS. This can be fixed by checking the headers for a Cookie key, parsing it, and setting the parsed cookies via the native cookie manager.

Or, alternatively, maybe just by not setting the default cookie manager (maybe with some flag)?

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

  • CLI: 2.3
  • Cross-platform modules: 2.3
  • Runtime(s): tns-android
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant