From 69bd5d2ab048e8e1c7e29a43123f7f94d92e6fe9 Mon Sep 17 00:00:00 2001 From: bjoern Date: Tue, 12 Apr 2022 14:54:05 +0200 Subject: [PATCH] Webxdc scaling/viewport is implementation specific (#3214) at least on iOS we would need to inject a script to force a behavior, that is hard to merge with settings set by the Webxdc. therefore, the easiest approach seems to be to leave that completely up to the Webxdc - and, in practise, many Webxdc already set viewports, including scaling. --- draft/webxdc-dev-reference.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/draft/webxdc-dev-reference.md b/draft/webxdc-dev-reference.md index f679a9231..ddfc7351c 100644 --- a/draft/webxdc-dev-reference.md +++ b/draft/webxdc-dev-reference.md @@ -176,6 +176,9 @@ just clone and start adapting things to your need. - older devices might not have the newest js features in their webview, you may want to transpile your code down to an older js version eg. with https://babeljs.io +- viewport and scaling features are implementation specific, + if you want to have an explicit behavior, you can add eg. + `` to your Webxdc - there are tons of ideas for enhancements of the API and the file format, eg. in the future, we will may define icon- and manifest-files, allow to aggregate the state or add metadata.