itrafimovich edited a comment 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
   
   Using path.absoluteURL.path without prefix 'file://'
   
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to