You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2020/06/25 11:11:00 UTC

[jira] [Closed] (CB-12119) local-webserver plugin lets android builds fail

     [ https://issues.apache.org/jira/browse/CB-12119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-12119.
-----------------------------
    Resolution: Won't Do

closing since the local web server plugin was experimental, nowadays you can use cordova-ios 6 with a custom scheme to solve most of the problems the web server solved

> local-webserver plugin lets android builds fail
> -----------------------------------------------
>
>                 Key: CB-12119
>                 URL: https://issues.apache.org/jira/browse/CB-12119
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-wkwebview-engine
>            Reporter: Maik Riechert
>            Assignee: Shazron Abdullah
>            Priority: Major
>              Labels: wkwebview-baked-in, wkwebview-known-issues
>
> I use the WKWebViewEngine plugin together with local-webserver (due to CORS restrictions when trying to load e.g. local audio files to play back using WebAudio). However, the local-webserver plugin modifies the `<content>` tag in my config.xml, affecting all platforms, and making android builds not work anymore. This is quite bad and in my opinion a plugin should never touch the config.xml file but only provide settings etc. via the regular plugin mechanism.
> My workaround is to override the content value inside a `<platform name="android">` block of my config.xml. And this is what the local-webserver plugin should do. It should just put the content override in the iOS platform tag, and not use hook scripts.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org