Socket
Socket
Sign inDemoInstall

react-native-push-notification

Package Overview
Dependencies
0
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous124567Next

5.1.1

Diff

Changelog

Source

[5.1.1] 2020-09-15

Fixed

  • (Android) Fatal Exception: java.lang.NullPointerException #1641
boris.tacyniak
published 5.1.0 •

Changelog

Source

[5.1.0] 2020-08-31

Features

  • (Android) Add support for specifying a delegate FirebaseMessagingService #1589
  • (Android) Add support of when, usesChronometer and timeoutAfter.

Fixed

  • (Android) Fix a bug where userInteraction is not set, notification when app in background pressed by user.
boris.tacyniak
published 5.0.1 •

Changelog

Source

[5.0.1] 2020-08-04

Fixed

  • (Android) Fix change that make gradle build fail #1578.
boris.tacyniak
published 5.0.0 •

Changelog

Source

[5.0.0] 2020-08-03

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.
boris.tacyniak
published 4.0.0 •

Changelog

Source

[4.0.0] 2020-07-06

Breaking changes

  • 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.
  • Extra receiver must be added to manage actions.
        <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" />
    
  • (iOS) userInfo is now populated with id by default to allow operation based on id.

Features

  • (Android) actions accept an array of strings.
  • (Android) invokeApp allow you to handle actions in background without invoking the application.
  • (Android) onAction has been added to .configure() to handle action in background.
  • (Android) PushNotification.invokeApp(notification) allow you to invoke the application when in background (notification for initial notification).
  • (Android) PushNotification.getChannels(callback) allow you to get the list of channels.
  • (Android) PushNotification.channelExists(channel_id, callback) allow you to check of a channel exists.
  • (Android) PushNotification.channelBlocked(channel_id, callback) allow you to check of a channel is blocked. Based on #1249
  • (Android) PushNotification.deleteChannel(channel_id) allow you to delete a channel.
  • (Android) Add largeIconUrl to load a largeIcon based on Url. Based on #1444
  • (Android) Add bigPictureUrl to load a picture based on Url. Based on #1444
  • (Android) Add shortcutId for better badges management.
  • (Android) Add showWhen to display "when" it was published, default: true.
  • (Android) Add groupSummary to allow grouping notifications. Based on #1253
  • (Android) Add channelId, custom channel_id in android. Based on #1159
  • (Android) Add channelName, custom channel_name in android.
  • (Android) Add channelDescription, custom channel_description in android.
  • (iOS) Add fire date in notification response, NOTE: push-notification-ios in version > 1.2.0 #1345
  • (iOS) onRegistrationError has been added to .configure() to handle registrationError events.
  • (Android/iOS) Add method getScheduledLocalNotifications()#1466

Fixed

  • (Android) Replace java.util.Random with java.security.SecureRandom #1497
  • (Android) WAKE_LOCK permission removed from documentation. #1494
  • (Android) Some options were ignored on scheduled/repeating notifications (allowWhileIdle, ignoreInForeground).
  • (Android/iOS) popInitialInotification might be ignored in .configure()
boris.tacyniak
published 3.5.2 •

Changelog

Source

[3.5.2] - 2020-05-25

Fixed

  • (Android) Sounds are playing even in Do Not Disturb #1432
  • (Android) onNotification fires every time when the app goes from background to foreground #1455
  • (Android) java.lang.NullPointerException: Attempt to invoke virtual method 'void com.dieam.reactnativepushnotification.modules.d.c(android.os.Bundle)' on a null object reference #1431
boris.tacyniak
published 3.5.1 •

Changelog

Source

[3.5.1] - 2020-05-20

Fixed

  • (Android) When updating 3.4 to 3.5, unable to compile Android #1449
boris.tacyniak
published 3.5.0 •

Changelog

Source

[3.5.0] - 2020-05-20

Features

  • (Android) Enables the ability to support multiple push providers #1445

Fixed

  • (Android) No sound on notifications #1432
  • (Android) onNotification is not calling when app is in background #1446
  • (Android) number and id do not crash if NaN is passed in Android.
boris.tacyniak
published 3.4.0 •

Changelog

Source

[3.4.0] - 2020-05-08

Features

  • (Android) Call onRegister when Firebase renew token.
  • (Android) Added Abandon Permissions method to Android #1425
  • (Android) Add a new key in AndroidManifest.xml to allow/remove notification in foreground.
        <meta-data  android:name="com.dieam.reactnativepushnotification.notification_foreground"
                    android:value="false"/>

Fixed

  • (Android) number and id are now correctly handled as number in Android.
  • (iOS) Update push-notification-ios to 1.2.0 #1410
  • Make sure to import PushNotificationIOS from react-native first #617
boris.tacyniak
published 3.3.1 •

Changelog

Source

[3.3.1] - 2020-05-01

Fixed

  • (Android) Fix regression with the importance of the notification.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc