Skip to content

totalpaveinc/cordova-plugin-insets

Repository files navigation

cordova-plugin-insets

This plugin provides access to native unsafe area insets. Normally these insets are accessed through the CSS env variables, unsafe-area-inset-* (where * is top, right, bottom, or left).

On Android These env variables are recognized by Android's webviews but are not properly implemented. They always resolve to 0.t On iOS, in rare circumstances the CSS safe area inset variables may resolve to incorrectly 0.

This plugin provides a work around to obtain these values in javascript. You will have to implement your own javascript code to actually start using these values in your CSS.

Installation

cordova plugin add @totalpave/cordova-plugin-insets

Supported Platforms

  • Android
  • iOS

Documentation

See Docs

Licenses

This plugin is licensed under Apache 2.0. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •