Github user shazron commented on the pull request:
https://github.com/apache/cordova-ios/pull/179#issuecomment-155613091
Good point, didn't think of that scenario. Ideally each WebView engine,
when activated, should inject its own bridge. This would solve this scenario.
We could do this for the WKWebViewEngine plugin -- when it is activated,
read the .js file and inject it. The UIWebViewEngine (private) plugin could do
it as well in the same manner but we would have to remove the .js from
cordova-js-src folder (which is aggregated by cordova-js to create cordova.js)
and leave this as a concern for the platform itself.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]