Velocity 1.2.101, 1.2.104, 1.2.106
- Touching the screen causes the image to zoom out or zoom in, so much so that it is difficult to read. The end user then has to adjust the image before they can use the page.
- I cannot disable pinch zoom in our WEB application on our android device
This resolution results in the screen not being able to zoom in or out and that the page is fixed (or mostly fixed) to one area.
- Open velocity console project
- Go to the Settings Tab
- At the bottom left, click “Add” and add the attached .html file as a resource.
- Then go to the scripts section
- On the bottom left, click “Library”
- Select “Web Insert” and press OK
- Check the box next to Web Insert and click “Link” (in the bottom middle)
- A message box will appear saying “ session”, press OK
- In the “Resource Name” type “viewport.html”
- Save and deploy this to their device.
For those who would like to create their own "viewport.html", here is what is inside of it: