RonRadtke / react-native-blob-util

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
769 stars 130 forks source link

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

Open Fuzzyma opened 1 year ago

Fuzzyma commented 1 year ago

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?

RonRadtke commented 1 year ago

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

Fuzzyma commented 1 year ago

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