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

[Android:Fix] Fix an issue where saveFile would return an incorrect path #1712

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Dogbonee
Copy link

Currently saveFile always returns a path to downloads with the filename appended on the end. This doesn't seem like intended behavior, but the path seemed to be hardcoded to the downloads directory environment variable. This PR just changes the path to the activity's uri real path. Also fixed a minor issue in the example where the bytes argument was required to save, but was not included in the example.

Related to issue #1636

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

Successfully merging this pull request may close these issues.

1 participant