We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Library version: 1.5.6 OS version: Android 14 Device model: Pixel 7a
Describe the bug Hi, I have an issue with your library. The file extension is lost when creating a file in the Downloads folder.
Do you know a workaround for it?
To Reproduce
All this doesn't work...
FileDescription description = new FileDescription("test.gpx", "", ""); DocumentFileCompat.createDownloadWithMediaStoreFallback(getApplicationContext(), description);
FileDescription description = new FileDescription("test.gpx", "", null); DocumentFileCompat.createDownloadWithMediaStoreFallback(getApplicationContext(), description);
FileDescription description = new FileDescription("test.gpx", "", "application/gpx+xml"); DocumentFileCompat.createDownloadWithMediaStoreFallback(getApplicationContext(), description);
however, this does work:
FileDescription description = new FileDescription("test.png", "", "image/png"); DocumentFileCompat.createDownloadWithMediaStoreFallback(getApplicationContext(), description);
Reference fm-sys/snapdrop-android#309
The text was updated successfully, but these errors were encountered:
@anggrayudi any idea? Thank you!
Sorry, something went wrong.
Does this only happen on Android 14?
At least Android 13 is affected as well, didn't have checked other versions until now though.
No branches or pull requests
Library version: 1.5.6
OS version: Android 14
Device model: Pixel 7a
Describe the bug
Hi, I have an issue with your library. The file extension is lost when creating a file in the Downloads folder.
Do you know a workaround for it?
To Reproduce
All this doesn't work...
however, this does work:
Reference
fm-sys/snapdrop-android#309
The text was updated successfully, but these errors were encountered: