Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This app creater is incompatible with Android WebView versions 60 through 62 #24

Open
VVelda opened this issue Apr 2, 2024 · 0 comments

Comments

@VVelda
Copy link

VVelda commented Apr 2, 2024

Dear Capacitor developers,
I found out that the minimum WebView version for this app builder is version 63. I think this is sub-optimal because the officially minimum supported version of WebView is version 60:

Capacitor requires an Android WebView with Chrome version 60 or later.

For this reason, I suggest this repository should clearly state, that the minimum version in this case is 63. Alternatively, these incompatibilities should be avoided. In my case, it caused me lots of troubles because I thought Capacitor does not work on my device before I figured this out. As a reminder, any serious developer is always going to test especially the highest/newest and the lowest supported versions as edge cases, i.e. this is not a dismissible problem.

Why version 63? Most likely due to the support of dynamic imports introduced in Chrome 63 and as suggested by LogCat too:

File: https://unpkg.com/@ionic/pwa-elements@3.2.2/dist/ionicpwaelements/ionicpwaelements.esm.js - Line 1 - Msg: Uncaught SyntaxError: Unexpected token import

Thank you,
Velda

Testing device:

Moto X (1st gen), Android 5.1
Tested Android System WebView version:

  • 63.0.3239.31 (working)
  • 61.0.3163.81
  • 60.0.3112.78
  • 60.0.3112.66

Environment:

capacitor-app@1.0.0 ...
+-- @capacitor/android@5.7.4
+-- @capacitor/camera@5.0.9
+-- @capacitor/cli@5.7.4
+-- @capacitor/core@5.7.4
+-- @capacitor/splash-screen@5.0.7
`-- vite@2.9.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant