breautek commented on issue #1052: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1052#issuecomment-1991710049
If you're using a physical device, make sure you're logged into Google Play to receive webview updates. If you're using a simulator, make sure you're using a Google Play enabled simulator + simulator image, so that the simulator has the Google Play Store application, which you can log into to receive webview updates. ``` [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) ``` This suggest that your angular app is using newer features such as [Nullish Coalescing](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing) or [Optional Chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining) Both features are only available on Android Chrome Webview 80+. Note that AOSP simulators ships with very old webview versions which may be helpful but in the real world retail phones will likely be running with updates installed. In the case of [Angular's Browser Support Policy](https://angular.io/guide/browser-support), they only support the last 2 versions of a browser, so I'd highly recommend using a Google Play enabled simulator and logging in using your google account. > The webpage should load in all android version. Do note that the [android webview](https://source.chromium.org/chromium/chromium/src/+/main:build/config/android/config.gni;l=69) has min SDK 26 set. I'm not sure when exactly this was updated but it is possible on Android 7 will not access to the latest available version of the webview and thus not have access to a webview that is supported by Angular. Closing this because there is no actionable path for Cordova. -- 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 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