Github user jcesarmobile commented on the pull request:
https://github.com/apache/cordova-plugin-file/pull/127#issuecomment-126644090
I agree with @macdonst that setting the "AndroidPersistentFileLocation"
preference to "Compatibility" should be enough if the developer wants the old
behaviour, but to the question "Do we really need to write some code to show
devs how to copy files from one location to another using the FileSystem API?"
Well, not really write code to show HOW to copy the files, there is
documentation about copying files, but from WHERE? how do I get the old files
location?
If you change the preference to internal,
"window.requestFileSystem(PERSISTENT, 0, win, fail);" will give you this
location "/data/data/{android package}/files/files/", but where are the old
files? How do you get them now if PERSISTENT will give you the new location?
It's not obvious to me
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]