Repository navigation
Conversation
VanesaOshiro
force-pushed
the
android-package
branch
from
October 5, 2022 18:14
e1a3a58 to
ca2830a
Compare
15 tasks done
VanesaOshiro
force-pushed
the
android-package
branch
from
October 6, 2022 18:07
ca2830a to
87dd0fc
Compare
VanesaOshiro
force-pushed
the
65840-save-a-file
branch
from
October 6, 2022 18:33
4ca6b4e to
31e415e
Compare
VanesaOshiro
force-pushed
the
android-package
branch
from
October 6, 2022 19:32
87dd0fc to
627c547
Compare
VanesaOshiro
force-pushed
the
65840-save-a-file
branch
from
October 6, 2022 19:33
31e415e to
61192df
Compare
VanesaOshiro
force-pushed
the
android-package
branch
from
October 12, 2022 12:58
627c547 to
03fbec0
Compare
VanesaOshiro
force-pushed
the
65840-save-a-file
branch
from
October 12, 2022 13:04
61192df to
9d5693c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the Android implementation for the
file_selectorpackage, specifically for thegetSavePathmethod.Issue related: [file_selector] Add Android support #110098
getSavePathreceives two possible arguments:This method supports Android SDK 21+ and manages every save path possible. I.e.:
Instead of returning a full unparseable URI, it creates a 0B file with the name and type presented and returns the storage path for the user to call the
XFile.saveTo(filePath)method.The example does this exactly. It prompts the user to select an optional file name and an optional text to add, launch the intent, and save the file.
We tested this with text in our gifs, but it works with file types, such as base64.