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 2022/08/21 01:39:26 UTC

[GitHub] [cordova-plugin-media] SteveGilvarry commented on issue #345: Android@10 not playing files served via https://localhost

SteveGilvarry commented on issue #345:
URL: https://github.com/apache/cordova-plugin-media/issues/345#issuecomment-1221444196

   @breautek first apologies I don't have much background with Cordova, but attempting to support an app. In reference to this comment
   > We are experimenting with a solution similar to this, available in the file plugin 7.x
   > 
   > [apache/cordova-plugin-file#517](https://github.com/apache/cordova-plugin-file/pull/517)
   > 
   > Does this solves your issue?
   Are you suggesting that https://github.com/apache/cordova-plugin-file/blob/ef301bcd17bd2e86367cdf90b7f1b06a84f71f1b/src/android/FileUtils.java#L1267 could be used by other plugins to convert the https://localhost/__cdvfiles_XXXX links back into plugin java side useable links?
   
   Or that other plugins also implement the same code to perform the same conversion? I was trying to understand exactly what  CordovaPluginPathHandler getPathHandler() is, some form of per plugin override? I don't see it called from anywhere in the File plugin, and looks like nothing was documented for it.
   
   My use case is another plugin, but same issue where entry.toURL is returning the web view only URL and I am then passing that into another plugin to access the file. If I can work out how to do it for the plugin I have I will happily attempt a PR for this one.
   
   


-- 
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: issues-unsubscribe@cordova.apache.org

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