Skip to content

BevyUp/cordova-plugin-viewport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-viewport

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.

About

Sets Cordova app's web view to use wide viewport.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 63.6%
  • JavaScript 36.4%