Releases: seniv/react-native-notifier
Releases · seniv/react-native-notifier
Release 2.0.0
2.0.0 (2024-07-21)
Bug Fixes
- fix the first display of notification when using
useRNScreensOverlay
.
Code Refactoring
- remove SafeContainer component (dbaf80f)
Features
- add
omitGlobalMethodsHookup
prop toNotifierWrapper
/NotifierRoot
to skip globalNotifier
methods hookup. Details. (c8e3c2b) - export
NotifierProps
type (a827354)
BREAKING CHANGES
- Built-in components will not work correctly on iOS 10. Since React Native v0.65 and above only support iOS 11 and later, this should not be a problem. If you need iOS 10 support, use
SafeAreaView
fromreact-native-safe-area-context
as the component container. - useRNScreensOverlay and rnScreensOverlayViewStyle do not work as
showNotification
params. Pass them as props toNotifierRoot
orNotifierWrapper
Touchable*
andPressable
components imported fromreact-native
will not work in custom components. They need to be replaced with equivalent components fromreact-native-gesture-handler
.
Release 1.10.0
1.10.0 (2024-07-21)
Features
- use FullWindowOverlay from react-native-screens to display notifier above native modals (e72e1e8)
- allow to pass ref into NotifierWrapper component (4bff0bb)
- export QueueMode and ShowNotificationParams types (6c598c1)
BREAKING CHANGES
Touchable*
andPressable
components imported fromreact-native
will not work in custom components. They need to be replaced with equivalent components fromreact-native-gesture-handler
.