Avoiding zoom controls from webview, NativeScript+js on android


#1

xml
<…loaded=“Event”/> //add loaded=“Event”

javascript

exports.Event = function(args) {
const webView = args.object;
if (webView.android) {
webView.android.getSettings().setDisplayZoomControls(false);
webView.android.getSettings().setBuiltInZoomControls(false);
}
};