jamcoupe commented on issue #132: Cordova lazy loading support for angular 8. URL: https://github.com/apache/cordova/issues/132#issuecomment-521706174 @janpio I have attached a minimal cordova app that reproduces the issue. I think it may be more of an issue with the Android WebView. But all default Angular8 apps will not work in Cordova without modifications. `www/replace-app.js` ```javascript const p = document.querySelector("p"); p.textContent = "I works!!!"; ``` `www/index.html` ```html <!DOCTYPE html> <html> <head> <title>Hello World</title> </head> <body> <p>I should not be seen :(</p> <script type="text/javascript" src="cordova.js"></script> <script src="replace-app.js" type="module"></script> </body> </html> ``` cd into the root directory ```bash npm install cordova@9.0.0 -g cordova create app cd app # add the index.html and replace-app.js to the www folder cordova platform add android cordova build android ``` Install the app. **Expected:** App should display the text "It works!!!" **Actual:** App displays: "I should not be seen :(". [cordova-bug-type-module.zip](https://github.com/apache/cordova/files/3506327/cordova-bug-type-module.zip) \- _zipped app for your convenience_
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org