cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maik Riechert (JIRA)" <>
Subject [jira] [Created] (CB-12119) local-webserver plugin lets android builds fail
Date Mon, 07 Nov 2016 12:52:58 GMT
Maik Riechert created CB-12119:

             Summary: local-webserver plugin lets android builds fail
                 Key: CB-12119
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin WKWebViewEngine
            Reporter: Maik Riechert
            Assignee: Shazron Abdullah

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message