Skip to content

Releases: Aashu-Dubey/capacitor-statusbar-safe-area

3.0.0

02 Jun 19:27
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @azarz made their first contribution in #15

Full Changelog: v2.1.2...v3.0.0

2.1.2

01 Jun 21:57
Compare
Choose a tag to compare

What's Changed

  • Add support for insets on Android 9 and below by @Menardi in #12

New Contributors

Full Changelog: v2.1.1...v2.1.2

2.1.1

17 Jun 19:47
Compare
Choose a tag to compare

Breaking Change

  • Make safe-area custom element opt-in to register only if needed and to also to prevent breaking evaluating SafeAreaController in SSR environments. by @jjang16 in #9

If earlier you were using the safe-area tag by simple (Empty) import, you now have to import and call function registerSafeAreaElement

// root.component.ts or your-component.ts

import { registerSafeAreaElement } '@aashu-dubey/capacitor-statusbar-safe-area';

registerSafeAreaElement();
  • SafeAreaType type has been renamed to SafeAreaInset (changelog)

New Contributors

Full Changelog: v2.1.0...v2.1.1

2.1.0

14 May 15:39
Compare
Choose a tag to compare

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

2.0.0

31 Mar 19:28
Compare
Choose a tag to compare

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

1.1.0

02 Nov 18:03
Compare
Choose a tag to compare

✨ Improvements

Full Changelog: v1.0.1...v1.1.0

1.0.1

29 May 15:40
Compare
Choose a tag to compare
  • fix: podspec issue on iOS when running npx cap sync (3bdf607).

1.0.0

19 Mar 21:03
Compare
Choose a tag to compare

Initial Release

Using this package you can get Status bar height and Safe area insets on Android & iOS on Ionic applications