Skip to content

Releases: arnnis/react-native-toast-notifications

v3.4.0

23 Aug 15:19
Compare
Choose a tag to compare
  • New global API. (docs). the old ref method should still work, no breaking change.
  • Web: fix scroll issue (by #174)
  • Fix button inside toast not clickable on Android (by #162 )
  • Added ToastOptions to exports (by #166)
  • Fix side of toast are not clickable (by #168)
  • Access isOpen method with typescript (by #169 )
  • Upgrade example app to use Expo 49 (by #175)
  • fix issue with notch devices (by #167)
  • Web: add user-select: none to fix swipe

v3.3.0

11 Jun 11:51
Compare
Choose a tag to compare
  • Support isOpen method to check if a toast is currently open
  • Support placement: 'center' (by #135)
  • Fix animation bug: when calling show just after hide or hideAll (by #114)
  • Toast won't affect components to the side of the toast (by #126)
  • Use material color as default colors
  • Fix new duration is not applied after toast.update (by #137)

v3.2.3

09 Nov 07:20
Compare
Choose a tag to compare
  • Fix warning for Dimensions event listener on React Native >= 65, fixes #99

v3.2.2

15 Sep 11:59
Compare
Choose a tag to compare
  • Fixed layout on landscape mode
  • Fixed useNativeDriver warnings on web

v3.2.0

09 Sep 15:50
Compare
Choose a tag to compare
  • Added onClose event to show method
  • Added swipeEnabled to disable swipe to close functionality.

v3.1.1

18 Aug 08:43
Compare
Choose a tag to compare
  • Increased z-index. fixes #88

v3.1.0

14 Jul 16:39
Compare
Choose a tag to compare
  • hide & hideAll methods now fire close animation.
  • offsetTop and offsetBottom support.
  • added onHide event to toast props. it's intended to be used in custom types. example app updated.
  • JSDoc cleanup

v3.0.1

03 Jul 08:43
Compare
Choose a tag to compare
  • Fix placement prop is ignored in ToastProvider

v3.0.0

01 Jul 10:48
Compare
Choose a tag to compare
  • Swipe to close support.
  • Custom type support. Implement your own toast component and render it as you wish.
  • New zoom-in animation. use animationType property.
  • Ability to customize animation duration
  • Ability to set placement in show method.
  • JSDocs documentations
  • Deployed react-native-web demo to gh-pages
  • Added hideAll method.
  • Refactored example app
  • Other minor bug fixes

v2.3.1

20 Jun 12:03
Compare
Choose a tag to compare
  • Better typescript support (only pick toast methods from the ref object)