Socket
Socket
Sign inDemoInstall

cordova-plugin-viewport

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cordova-plugin-viewport

Sets Cordova app's web view to use wide (zoomed out) and device width sized viewport.


Version published
Weekly downloads
86
increased by21.13%
Maintainers
1
Install size
8.78 kB
Created
Weekly downloads
 

Readme

Source

Cordova Plugin Viewport

npm npm license

Sets Cordova app's web view to use wide (zoomed out) and device width sized viewport.

How it works?

This plugin adds only an after_prepare hook to change your app's main activity file. Cordova's prepare command is called before every build and run unless it's explicitly turned off.

As this overrides your main activity file, you cannot use this plugin with manually managed (android specific development way) android projects. But you can copy the logic from plugin into your files of course.

Keywords

FAQs

Last updated on 04 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc