ionic-team / ionic-team/create-capacitor-app

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

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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](https://capacitorjs.com/docs/android#android-support):

> 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](https://caniuse.com/es6-module-dynamic-import) 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.