React Native Local and Remote Notifications
MIT License
Bot releases are visible (Hide)
Published by Dallas62 about 4 years ago
when
, usesChronometer
and timeoutAfter
.userInteraction
is not set, notification when app in background pressed by user.Published by Dallas62 about 4 years ago
.popInitialNotification(callback)
now return the same format as onNotification()
.popInitialNotification
in configure()
now trigger only once on app startup, same as iOS.notification.foreground
now return the good value, before the value was false
most of the time.createChannel
for custom Android channel support #1509
messageId
to enable integration with react-native-firebase/messaging
#1510
onlyAlertOnce
property #1519
popInitialNotification
in configure()
now trigger only once and do not trigger twice onNotification()
when user press the notification, more details: #1516.notification.foreground
now return the good value, before the value was false
most of the time.Published by Dallas62 over 4 years ago
RNPushNotificationRegistrationService
has been removed, old reference in AndroidManifest must be removed.Notifications.registerNotificationActions()
has been removed and is not required for actions
.DeviceEventEmitter.addListener('notificationActionReceived', callback)
is replaced by onAction
. <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" />
userInfo
is now populated with id by default to allow operation based on id
.actions
accept an array of strings.invokeApp
allow you to handle actions in background without invoking the application.onAction
has been added to .configure()
to handle action in background.PushNotification.invokeApp(notification)
allow you to invoke the application when in background (notification for initial notification).PushNotification.getChannels(callback)
allow you to get the list of channels.PushNotification.channelExists(channel_id, callback)
allow you to check of a channel exists.PushNotification.channelBlocked(channel_id, callback)
allow you to check of a channel is blocked. Based on #1249
PushNotification.deleteChannel(channel_id)
allow you to delete a channel.largeIconUrl
to load a largeIcon based on Url. Based on #1444
bigPictureUrl
to load a picture based on Url. Based on #1444
shortcutId
for better badges management.showWhen
to display "when" it was published, default: true.groupSummary
to allow grouping notifications. Based on #1253
channelId
, custom channel_id in android. Based on #1159
channelName
, custom channel_name in android.channelDescription
, custom channel_description in android.push-notification-ios
in version > 1.2.0
#1345
onRegistrationError
has been added to .configure()
to handle registrationError
events..configure()
Published by Dallas62 over 4 years ago
Published by Dallas62 over 4 years ago
Published by Dallas62 over 4 years ago
onRegister
when Firebase renew token.AndroidManifest.xml
to allow/remove notification in foreground. <meta-data android:name="com.dieam.reactnativepushnotification.notification_foreground"
android:value="false"/>
Published by Dallas62 over 4 years ago
Published by Dallas62 over 4 years ago
package.json
fix suffic in main, index
=> index.js
#878
<service android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService"/>
must be removed.Published by Dallas62 over 4 years ago
Strint
wrong typoPublished by Dallas62 over 4 years ago
limit the components that Intent will resolve to
#687
JSON value '<null>' of type NSNull cannot be converted to NSDictionary
#1030
Published by Gp2mv3 about 6 years ago
aaf2d19
#854
3bd0b6f
#835
f7b4759
#822
1143632
#869
fc5c722
#879
9708445
#839
a95af74
#831
8718e61
#826
feada0c
#809
beedb16
#816
ccd9edc
#806
b61ce08
#807
a071458
#802