I'm currently trying to enable native viewport zoom (like the native web zoom I mean) on Cordova Android (webview).
Here's my viewport tag :
<meta name="viewport" content="user-scalable=yes, initial-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
And I tried something like this :
function onDeviceReady() {
ImgCache.options.chromeQuota = 50*1024*1024;
var domElement = document.getElementById('main-html');
angular.bootstrap(domElement, "myApp");
webView.getSettings().setBuiltInZoomControls(true); // this line
}
As said there : How to enable zoom controls and pinch zoom in a WebView?
But it doesn't work. What I am missing ?