5.0.0
版本发布时间: 2020-08-04 02:56:41
zo0r/react-native-push-notification最新发布版本:8.1.1(2021-10-01 22:23:33)
Breaking changes
- (Android/iOS) Unify returned values between iOS and Android #1516.
- (Android/iOS)
.popInitialNotification(callback)
now return the same format asonNotification()
. - (Android)
popInitialNotification
inconfigure()
now trigger only once on app startup, same as iOS. - (Android)
notification.foreground
now return the good value, before the value wasfalse
most of the time.
Features
- (Android) Add function
createChannel
for custom Android channel support #1509 - (Android) Add Android
messageId
to enable integration withreact-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
inconfigure()
now trigger only once and do not trigger twiceonNotification()
when user press the notification, more details: #1516. - (Android)
notification.foreground
now return the good value, before the value wasfalse
most of the time.