Same Messages shows twice #185415
Replies: 2 comments 2 replies
-
|
"Hey folks, just jumping in to see if I can help with the 'invisible file' issue @gouri-panda is seeing. Regarding the file not being searchable/visible despite physically existing: This usually happens when the MediaScanner isn't triggered after the write operation. On Android, just writing a file to disk doesn't automatically make it show up in Gallery or media queries immediately; the system database needs to be updated. We likely need to call MediaScannerConnection.scanFile() (or the equivalent context broadcaster) on the final path once the download finishes. That should force the system to index it so it appears in other apps instantly. And Since this keeps cropping up, maybe we can add an instrumentation test that explicitly attempts to query the file via MediaStore right after a mock download? That would fail in CI if the scanner logic breaks again." |
Beta Was this translation helpful? Give feedback.
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions