2.1.1
Breaking Change
- Make
safe-area
custom element opt-in to register only if needed and to also to prevent breaking evaluatingSafeAreaController
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 toSafeAreaInset
(changelog)
New Contributors
Full Changelog: v2.1.0...v2.1.1