Thank you these are good ideas. I think having this "proxy" in cordova-ios does not sound right, too.
What do you all think about a) and b)? I am not sure which one to prefer. I hope I find time to work on this soon and move this forward. I tend to prefer b) with a method built in cordova-ios to hook into from a plugin. The second question is if we would want the "proxy" plugin as an official Apache plugin or 3rd party plugin? November 5, 2020 7:02 PM, "julio cesar sanchez" <jcesarmob...@gmail.com> wrote: > I don't think the proxy belongs to cordova-ios, I think it should be a > separate plugin, but not a webview plugin, I think cordova-ios should allow > one this two: > > a) cordova-ios should allow plugins/users to set their > own WKURLSchemeHandler. This can be problematic since there can only be one > for the same scheme, so should be a subclass of CDVURLSchemeHandler or > duplicate most of its code. > b) cordova-ios should allow plugins to handle requests > inside CDVURLSchemeHandler, so if a plugin is able to handle a request, let > the plugin handle it, if not, use the default CDVURLSchemeHandler code for > request handling. > > Both options would allow to create plugins that act like a proxy, or other > features like loading app content from the device file system instead of > from the www folder (for live update plugins). > > El mar., 13 oct. 2020 a las 13:43, Niklas Merz (<niklasm...@apache.org>) > escribió: > >> This might take time to get released in Cordova iOS if it becomes part of >> the platform at all. >> >> On 2020/10/08 21:22:08, Steve Podell <st...@podell.com> wrote: >> Hi, >> I desperately need this for the non-profit WeVote Voter Guide app >> <https://wevote.us/welcome>. Please add your change to cordova IOS, it >> seems like a core feature for IOS 14 to me. >> >> If you need an solution immediatly you can use a custom version of the >> Ionic Webview plugin: >> cordova plugin add >> https://github.com/GEDYSIntraWare/cordova-plugin-ionic-webview#custom. >> Contact me if you need help. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org >> For additional commands, e-mail: dev-h...@cordova.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org