Skip to content

Release 2.0.0

Latest
Compare
Choose a tag to compare
@seniv seniv released this 21 Jul 15:05

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 to NotifierWrapper/NotifierRoot to skip global Notifier 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 from react-native-safe-area-context as the component container.
  • useRNScreensOverlay and rnScreensOverlayViewStyle do not work as showNotification params. Pass them as props to NotifierRoot or NotifierWrapper
  • Touchable* and Pressable components imported from react-native will not work in custom components. They need to be replaced with equivalent components from react-native-gesture-handler.