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

Doesn't work Firebase Firestore images #3

Open
fabiopaitra opened this issue Mar 20, 2020 · 4 comments
Open

Doesn't work Firebase Firestore images #3

fabiopaitra opened this issue Mar 20, 2020 · 4 comments

Comments

@fabiopaitra
Copy link

Due the URL format, It's not working with Firestore images. Could there be a way to fix?

Tks!

@jeremiahjoven
Copy link

Same problem here. Images display fine on mobile but desktop is another story.

@nikli2009
Copy link
Owner

Due the URL format, It's not working with Firestore images. Could there be a way to fix?

Tks!

Hi @fabiopaitra , is this the CORS policy related ? (just a guess as this directive use XHR to fetch images)

@fabiopaitra
Copy link
Author

Hi @nikli2009, thank you for your response. I was trying to fix in the backend but didn't work.
I believe it's because the query parameter after the URL for example:

https://firebasestorage.googleapis.com/v0/b/vou-card.appspot.com/o/vRYTGiXJEcUSqe3eQG5hLr2mEpV2%2Fpassport-1585251998394.jpg?alt=media&token=4f229384-bd54-4829-acee-788808b0ac0a

Makes sense?

@fabiopaitra
Copy link
Author

Hi @nikli2009. Any ideas? Maybe some workaround we could do it.

Thanks for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants