yarn react-native-push-notification 5.0.0

latest releases: 8.1.1, 8.1.0, 8.0.1...
3 years ago

Breaking changes

  • (Android/iOS) Unify returned values between iOS and Android #1516.
  • (Android/iOS) .popInitialNotification(callback) now return the same format as onNotification().
  • (Android) popInitialNotification in configure() now trigger only once on app startup, same as iOS.
  • (Android) notification.foreground now return the good value, before the value was false most of the time.

Features

  • (Android) Add function createChannel for custom Android channel support #1509
  • (Android) Add Android messageId to enable integration with react-native-firebase/messaging #1510
  • (Android) Add support for onlyAlertOnce property #1519
  • (Android) Allow to change default notification channel name after it's creation #1549

Fixed

  • (Android) popInitialNotification in configure() now trigger only once and do not trigger twice onNotification() when user press the notification, more details: #1516.
  • (Android) notification.foreground now return the good value, before the value was false most of the time.

Don't miss a new react-native-push-notification release

NewReleases is sending notifications on new releases.