v2.0.0 - (1 Apr 2023)
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
🐛 Fixes
v1.1.0 - (2 Nov 2022)
✨ Improvements
-
Upgraded plugin to Capacitor v4 (#3)(by @Hrdtr) (Complete changelog).
v1.0.1 - (29 May 2022)
- fix: podspec issue on iOS when running
npx cap sync
(3bdf607).
v1.0.0 - (20 Mar 2022)
Initial release.
Using this package you can get Status bar height and Safe area insets on Android & iOS on Ionic applications