Skip to content

2.0.0

Compare
Choose a tag to compare
@Aashu-Dubey Aashu-Dubey released this 31 Mar 19:28
· 29 commits to main since this release

This version adds support for an addition way to handle safe area on device, using safe-area web component exported by the plugin.

It can be used as follows:

<safe-area>
  <!-- Other content -->
</safe-area>

It also comes with 2 attributes to control it's behaviour, mode and edges.
For example, to use safe area insets as element's margin instead of default padding, and to apply only for top, we would write it as follows:

<safe-area mode="margin" edges="top">
  <!-- Other content -->
</safe-area>

more details about it's usage can be found in the readme.

✨ Features

  • Added support for a new safe-area web component (#6) (019b125)

🐛 Fixes

  • Fixed background thread swift warnings on iOS (#5) (4a55cee)

Full Changelog: v1.1.0...v2.0.0