apache / cordova-android

Apache Cordova Android
https://cordova.apache.org/
Apache License 2.0
3.59k stars 1.52k forks source link

Cordova 11 is not working on android 11 and angular 16 #1615

Closed winwinkhaing-klw closed 11 months ago

winwinkhaing-klw commented 11 months ago

Cordova 11 is not working on android 11 and angular 16

After updating angular 16, the cordova build application doesn't work on android 11

dpogue commented 11 months ago

Did this happen after updating Angular, or updating Cordova? If updating Angular caused the problem, then it should be reported to Angular.

What does "not working" mean? Please provide a detailed description of the problem, any error messages, and (if possible) a simple test case that reproduces the problem.

winwinkhaing-klw commented 11 months ago

Thanks for quick reply. I can run after upgrading android 12 with angular 16. When I launched the application to emulator, the application is not working with android 11.

jcesarmobile commented 11 months ago

Angular browser support is just last 2 chrome/chromium versions, the emulator is probably running an unsupported chrome/chromium version. You can usually configure angular to support older versions, check their docs about how to compile for older browsers or using polyfills.

you can e bug the app and see what error comes out to figure out if you need some polyfill https://developer.chrome.com/docs/devtools/remote-debugging/webviews/#open_a_webview_in_devtools