You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/02/12 15:39:53 UTC

[GitHub] [cordova-plugin-file] itrafimovich commented on issue #346: File Path Issue in iOS 13.1

itrafimovich commented on issue #346:
URL: https://github.com/apache/cordova-plugin-file/issues/346#issuecomment-778268864


   I've solved the same problem in other environment
   
   It’s look like iOS bug (detected only in Swift code)
   path=file:///private/var/mobile/Containers/Shared/AppGroup/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXX/folder/
   
   let result = fileManager.fileExists(atPath: path, isDirectory: &isDirectory) // false
   let result = fileManager.fileExists(atPath: path.absoluteURL.path, isDirectory: &isDirectory) // true
   
   Root cause is
   path.absoluteURL.path=/private/var/mobile/Containers/Shared/AppGroup/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXX/folder/
   
   Hope it will help 


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org