[ https://issues.apache.org/jira/browse/CB-8702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-8702. ------------------------------- Resolution: Fixed added in 4.0.0-dev > Plugins should be able to override shouldInterceptRequest() > ----------------------------------------------------------- > > Key: CB-8702 > URL: https://issues.apache.org/jira/browse/CB-8702 > Project: Apache Cordova > Issue Type: Improvement > Components: Android > Reporter: Andrew Grieve > Assignee: Andrew Grieve > Priority: Minor > > Right now plugins can alter the result of {code}shouldInterceptRequest{code} > via {code}remapUri{code}, but it would be nicer if they could actually return > an {code}InputStream{code}. > Propose new API to be: > 1. remapUri() to a "cdvplugin://PluginId" URI > 2. add a handleOpenForRead() for dealing with these URIs > This way plugins can return streams not just for > {code}shouldInterceptRequest{code}, but for all > {code}CordovaResourceApi{code} usages. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org