L-VE opened a new issue, #1052: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1052
# Bug Report ## Problem I'm working on upgrading an older app that uses the InAppBrowser to load a webpage. The older version used Cordova version 6.1.1 and android platform version 6.4.0. The new version uses Cordova 12 and android platform version 12.0.1. In the new app, the webpage is not loading correctly with some warnings in Android versions below 11. From version 11 upwards everything works fine. ### What is expected to happen? The webpage should load in all android version. ### What does actually happen? In this app I just load an Angular 15 webapp. The problem is that in the updated version of the cordova app, the webpage doesn't load correctly in the inAppbrowser for older Android version (below Android 11). On android device from version 11 upward it works as expected. The thing is the old app loads the exact same webpage but in an older version of the inappbrowser and there it loads without a problem. The app starts the webpage is trying to load, but in logcat I see following messages: [INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token .", source: \<websitename\>/polyfills.e81216d294bff2dd.js (1) [INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token ?", source: \<websitename\>/scripts.7b15838925e19699.js (1) [INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token ?", source: \<websitename\>/vendor.f6d89b5f00177040.js (1) [INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token .", source: \<websitename\>/main.b5be01f3bcce8100.js (1) ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> Old app: cordova 6.1.1 android platform 6.4.0 inappbrowser 3.0.1 New app: cordova 12 android platform 12.0.1. inappbrowser 6.0.1 ### Command or Code <!-- What command or code is needed to reproduce the problem? --> / ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> New cordova app, loading the webapp in android versions below 11. ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Old app: cordova 6.1.1 android platform 6.4.0 inappbrowser 3.0.1 New app: cordova 12 android platform 12.0.1. inappbrowser 6.0.1 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ ] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [ ] I included all the necessary information above -- 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. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org