Cordova - how to modify webview flags?
Asked Answered
M

1

6

I want to ask about flags that are available in the normal Chrome browser (chrome://flags). Previously I was using Crosswalk with Cordova and I had the option to change stuff in config.xml by adding the preference xwalkCommandLine.

<preference name="xwalkCommandLine" value="--enable-experimental-canvas-features --ignore-gpu-blacklist" />

Since Crosswalk is basically dead, is it possible to do the same thing in Cordova? Are there other preference names (or maybe even plugins) that will enable this feature?

Matazzoni answered 24/6, 2017 at 15:58 Comment(2)
Did you ever find a solution to this?Wrong
No, not really.Matazzoni
A
0

This does not appear to be possible in the underlying Chrome WebView that Cordova is using. Experimental features are purposely inaccessible in the WebView API that Android apps use. See the answer below about why this is not supported:

https://stackoverflow.com/a/43798884

Apograph answered 2/8, 2018 at 21:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.