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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Images are not fetched with existing cookies? #6316

Closed
ramneekhanda opened this issue Mar 6, 2016 · 2 comments
Closed

Remote Images are not fetched with existing cookies? #6316

ramneekhanda opened this issue Mar 6, 2016 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@ramneekhanda
Copy link

Hi,
I am required to authenticate with server before i can fetch images and the server sticks some cookies for the further http requests.

If i do this with browser it works but seemingly react Image fetch doesnt use existing cookies that have been set via fetch.

Here is what works:

  1. Auth request using fetch - works and sets cookies on client side
  2. Another request using fetch which needs authentication cookies set - works
  3. Image which requests authentication cookies set - doesnt work
@brentvatne
Copy link
Collaborator

Hi @ramneekhanda, please re-create this issue following the issue guidelines that you see when you press "New Issue" - notice that you left out the OS that this is happening on, the react-native version, and other important details.

Thanks!

@ramneekhanda
Copy link
Author

hi @brentvatne, I dont think i can provide you a minimal example as the issue requires setting some cookies and needs some support on the server etc..

version of react native that i used is 0.21

OS i tested was primarily on iOS.

Will see when i get time, i will open a proper issue but would suggest to reopen this in the mean time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants