Skip to content

Commit 4706f83

Browse files
authored
docs(cli): Improve information about minWebViewVersion and errorPath (#5924)
1 parent f7029ac commit 4706f83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cli/src/declarations.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ export interface CapacitorConfig {
217217
*
218218
* The minimum supported cannot be lower than version `55`, which is required for Capacitor.
219219
*
220+
* If the device uses a lower WebView version, an error message will be shown on Logcat.
221+
* If `server.errorPath` is configured, the WebView will redirect to that file, so can be
222+
* used to show a custom error.
223+
*
220224
* @since 4.0.0
221225
* @default 60
222226
*/
@@ -457,6 +461,7 @@ export interface CapacitorConfig {
457461

458462
/**
459463
* Specify path to a local html page to display in case of errors.
464+
* On Android the html file won't have access to Capacitor plugins.
460465
*
461466
* @since 4.0.0
462467
* @default null

0 commit comments

Comments
 (0)