JDStatusBarNotification v2.0.0 Release Notes
Release Date: 2022-06-14 // almost 2 years ago-
๐ Big release. Many bugfixes, expanded public API, new features. Modernized outdated codebase - more or less a full rewrite. ๐ This is a breaking API release. Existing code using previous versions of this library will require some adjustments. Those adjustments should be simple though - mostly new API naming.
โ Added
- A pill shaped layout (original layout available as "full-width" layout)
- ๐ Drag-to-dismiss + general support for user interaction on the notification
- Easy progress bar animation through public API
- Custom view presentation
- Presentation when no status bar is visible
- More robust layouting of text & activity indicator
- ๐ Support for apps that use window scenes
- Explicit Swift naming for all public APIs + Swift example project
- ๐ Full fledged style editor in example project + config export
๐ Fixed
- ๐ Many bug fixes
๐ Changed
- Non-notch device layout matches notch device layout now
- ๐
Included styles moved to explicit API, instead of
styleName
API JDStatusBarView
internals no longer exposed, custom view APIs added instead.
โ Removed
JDStatusBarHeightForIPhoneXHalf
layoutBarAnimationTypeNone
ProgressBarPositionBelow
,JDStatusBarProgressBarPositionNavBar