• Home
  • Features
  • Pricing
  • Contact
  • Account
  • Home
  • Features
  • Pricing
  • Contact
  • Account
Home/Knowledge Base/Answer to General Questions/Why disabling Zoom not working in the app?

Why disabling Zoom not working in the app?

66 views 1

Written by Zawad Anjum
September 23, 2024

On some Android devices, turning off zoom might not always work as expected 📱. This happens because different phone manufacturers customize the Android system in their own way ⚙️. So, even if you try to disable zoom (like pinch-to-zoom gestures ✌️) for design or accessibility reasons, it may not function properly on every device 🔄

To avoid this problem in your app, you can inject a custom CSS or JavaScript code into your web or app’s advanced settings 🛠️. This approach allows you to manually control the behavior of zoom 🔍, ensuring greater compatibility across devices 📱.

 

 

Follow the procedure below:

  1. Go to Integration Modules 📂
  2. Enable Custom CSS & JS 🔧
  3. Copy the script below and paste it in ‘custom JavaScript’ ✍️
  4. Click on Save Changes 💾

Hopefully, this will solve your issue! 🤞 If not, we suggest contacting support ☎️. The support team can provide more tailored help or guide you through adding custom scripts to ensure zoom disabling works properly on your specific device 🔄.

The script:

var metaElement = document.createElement('meta');

metaElement.name = 'viewport';

metaElement.content = 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no';

var head = document.head || document.getElementsByTagName('head')[0];

head.appendChild(metaElement);     

 


Was this helpful?

1 Yes  1 No
Related Articles
  • Why payment is not working while upgrading my App?
  • Why is the Navigation Drawer not showing?
  • How to show the camera option while uploading a file or image in the app?
  • Why some of the links are opening in the browser automatically?
  • Why location access is not working in the app?
  • Enabled Camera Access but why still Camera option is not showing while choosing file or image?

Didn't find your answer? Contact Us

Leave A Comment Cancel reply

  Why is the Navigation Drawer not showing?

How to show the camera option while uploading a file or image in the app?  


Appilix
About
  • Contact Us

  • Privacy Policy

  • Refund Policy

  • Terms & Conditions

Discover
  • FAQs

  • Plans & Pricing

  • Changelogs

Resources
  • Web to App

Connect With Us

© 2024 Appilix. All Rights Reserved

  • Privacy Policy

  • Terms & Conditions