Skip to content

Does the package automatically loads cookies on the native side? #309

Open

Description

@Fuzzyma

Cookie management with react native kinda is a pain because cookies are saved and send along any request automatically on the native side and I cant control them by doing e.g. an axios call with cookies on the javascript side.

I looked into react-native-cookies but you run into race conditions if you start setting cookies before every request.

So my question is, if this package also adheres to the limitation that cookies are saved and send automatically or does it have its own cookie managemenet (or none which would be even better) so I am in full control of all cookies?

Activity

  1. RonRadtke commented on Nov 1, 2023

    @RonRadtke
    Owner

    Currently all cookies available to the app will automatically be sent.
    For Android it should be easy to add an option. ios unsure

  2. Fuzzyma commented on Nov 1, 2023

    @Fuzzyma
    Author

    It would be awesome to have full control there! Consider this a feature request :D

  3. added
    enhancement
    on Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions