Skip to content

Enable or disable zoom on Android apps built with Capacitor

Notifications You must be signed in to change notification settings

ecc521/capacitor-zoom-android

Repository files navigation

UPDATE: Zoom is now available in the core Capacitor library (see ionic-team/capacitor#7000 and ionic-team/capacitor#4620). This plugin is likely no longer necessary for most use cases.

capacitor-zoom-android

Install

npm install capacitor-zoom-android
npx cap sync

If you're using Capacitor 4, run npm install capacitor-zoom-android@1

API

enableZoom()

enableZoom() => Promise<void>

Enable pinch-zoom on Android. Does nothing on web and iOS.

Since: 0.0.1


disableZoom()

disableZoom() => Promise<void>

Disable pinch-zoom on Android. Does nothing on web and iOS.

Since: 0.0.1


About

Enable or disable zoom on Android apps built with Capacitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published