Lindsay-Needs-Sleep edited a comment on pull request #358: URL: https://github.com/apache/cordova-plugin-file/pull/358#issuecomment-643123584
@tomaz-dugii Gee, it's been a long time since I have worked with this stuff, but let me see.... ---- **Just to be clear, these changes are only relevant if you are trying to NAVIGATE to a `cdvfile://` url from an `https://` page** If you are trying to display an image with a `cdvfile://` url on an `https://` page this may also help (but it's been long and I can't remember for sure). (If your situation is one of the above cases, I **might** be able to help.) --- If you are just having trouble figuring out what the correct url is for file you should look here: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/#file-system-layouts For your image in the documents folder, it should be something like: `cordova.file.documentsDirectory + '/image.png';` (personally, I just use the cordova.file.dataDirectory if you don't need to share image.png with the users) Otherwise I would recommend reading through the quirks section: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/#ios-quirks And maybe here: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/#configuring-the-plugin-optional (if you haven't already) ---------------------------------------------------------------- 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]
