Skip to content

2.1.1

Compare
Choose a tag to compare
@Aashu-Dubey Aashu-Dubey released this 17 Jun 19:47
· 13 commits to main since this release

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