-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: PDF preview not working #6978
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
base: develop
Are you sure you want to change the base?
Conversation
WalkthroughA single file modification adds HTTP headers parameter to file download requests via FileSystem.downloadAsync, enabling downloaded files to include specified headers. No control flow or error handling changes—only request option modifications. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)app/lib/methods/helpers/fileDownload.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
iOS Build Available Rocket.Chat 4.70.0.108257 |
Proposed changes
PDF was not downloading correctly because the expo file system was not sending the headers properly.
Issue(s)
https://rocketchat.atlassian.net/browse/CORE-1811
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments
Summary by CodeRabbit