weareu commented on issue #1496: URL: https://github.com/apache/cordova-android/issues/1496#issuecomment-1297030801
On Crodova 10+ all FileEntry returns will only return a http url (this is toURL, toInternalURL toNativeURL) all return the same http/s based __cdvfile url, there is only one way to get the file: uri's from any of the cordova-file plugin calls via javascript and that is to use entry.nativeURL (note not toNativeURL as that will also return http based URI). Most platforms from ios to electron will support the urls correctly. So I do think it may be a good idea to add support for the new CDVfile scheme on http for android. However for my purpose I will change the passed URL to file transfer to entry.nativeURL. @breautek for your purposes change: this.root.toURL() to this.root.nativeURL -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
