GriffinLedingham opened a new issue #346: File Path Issue in iOS 13.1 Beta 3 URL: https://github.com/apache/cordova-plugin-file/issues/346 # Bug Report ## Problem: Local file path returns incorrectly on iOS 13.1 ### What is expected to happen? `cordova.file.applicationDirectory` returns a file path which is supported by `resolveLocalFileSystemURL` to parse out a local path path for use in a cordova app. ### What does actually happen? `cordova.file.applicationDirectory` now returns a file path prefixed with `/private/` which is incorrectly parsed by `resolveLocalFileSystemURL` to rpoduce an incorrect file path for use in a cordova app. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> This issue exists is the iOS 13.1 beta, which is due to release at the end of September. Being this early in a beta, it's difficult to determine whether iOS is broken, or the plugin is broken, but to be proactive I am assuming the latter. I've dug through the 13.1 release notes, and don't see anything jumping out at me that'd modify the local file storage directory paths. With recent changes to the HTML5 app guidelines over the Summer, I figure this could be a rogue change of sorts to modify how apps are being sandboxed/given access to the file system. ### Command or Code <!-- What command or code is needed to reproduce the problem? --> `cordova.file.applicationDirectory` `window.resolveLocalFileSystemURL` ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> iPhone XR iOS 13.1 Beta 3 ### Version information cordova-plugin-file 6.0.2 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [✓] I searched for existing GitHub issues - [✓] I updated all Cordova tooling to most recent version - [✓] I included all the necessary information above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
