react-native-push-notification

React Native Local and Remote Notifications

MIT License

Downloads
433.4K
Stars
6.8K
Committers
153

Bot releases are visible (Hide)

react-native-push-notification - 8.1.1 Latest Release

Published by Dallas62 about 3 years ago

Fixed

  • (iOS): Raise @react-native-community/push-notification-ios version #2151
  • (iOS): Fix iOS repeated notification timing #2150
react-native-push-notification - 8.1.0

Published by Dallas62 about 3 years ago

Features

  • (iOS) Upgrade @react-native-community/push-notification-ios to version 1.10.0
  • (iOS) Allow month, week, day, hour, minute as repeatType for iOS.
  • (Android) Allow HTML tags to be used for styling in bigText field only #2067.

Fixed

  • (Android): Fix Android 12 PendingIntent #2130
react-native-push-notification - 8.0.1

Published by Dallas62 about 3 years ago

Fixed

  • (Android): Fix bug cancelLocalNotification() does not work on Android #2122
react-native-push-notification - 8.0.0

Published by Dallas62 about 3 years ago

Breaking changes

  • userInfo is no more populated with the id of the notification, initialy included to cancel scheduled notifications. This change will probably not impact you.
  • Rename cancelLocalNotifications to cancelLocalNotification (deprecation notice).

Features

  • (iOS) upgrade @react-native-community/push-notification-ios to version 1.9.0
  • picture is now support for both Android and iOS, (alias of bigPictureUrl for Android).

Fixed

  • (Android): Fix bug cancelLocalNotifications() does not work on Android #2100
react-native-push-notification - 7.4.0

Published by Dallas62 over 3 years ago

Features

  • (Android): Allow for repeat to specify amount of the given repeat type. #2030
  • (iOS): Add support for subtitle notification property. #2063
react-native-push-notification - 7.3.2

Published by Dallas62 over 3 years ago

Fixed

  • (Android) Fix: Foreground notifications missing small icon. #1927
react-native-push-notification - 7.3.1

Published by Dallas62 over 3 years ago

Fixed

  • (Android) Pin the firebase-messaging dependency to 21.1.0.
  • (Android) Fix: android missing channelId warning should now show #1995.
react-native-push-notification -

Published by Dallas62 over 3 years ago

Features

  • (Android) Add constants for notification importance #1959

Fixed

  • (Android) Fix: Task :react-native-push-notification:compileDebugJavaWithJavac FAILED #1979
react-native-push-notification - 7.2.3

Published by Dallas62 over 3 years ago

Fixed

  • (Android) Fix: Notification drawer doesn't close after click on action that navigates you to app #1914
  • (iOS) Fix: foreground notification property #1916
react-native-push-notification - 7.2.2

Published by Dallas62 over 3 years ago

Fixed

  • (Android) Fix: Could not invoke RNPushNotification.getDeliveredNotifications. #1878
  • (fix) deep clone details and notifications. #1793
react-native-push-notification - 7.2.1

Published by Dallas62 over 3 years ago

Fixed

  • (iOS) Fix playSound options on local notifications. 1858
react-native-push-notification - 7.2.0

Published by Dallas62 over 3 years ago

Features

  • (Android) Handle localization for notification title and body 1837
react-native-push-notification - 7.1.1

Published by Dallas62 over 3 years ago

Fixed

  • (Android) unsubscribeFromTopic function fix 1831
react-native-push-notification - 7.1.0

Published by Dallas62 almost 4 years ago

Features

  • (Android) Add hooks to intent handling and bundle parsing 1819
react-native-push-notification - 7.0.0

Published by Dallas62 almost 4 years ago

Breaking changes

  • (iOS) Replace deprecated local notification methods on iOS 1751
  • (Android) Rename the Android package from RNPushNotification to ReactNativePushNotification resolve 893
  • (Android) Allow userInfo to be stored in scheduled notification as in iOS (mapped as data on press or list scheduled notifications).

Features

  • (Android) silent channel using playSound flag
  • (Android) implement 'bigLargeIcon' for Android notifications (must be combined with BigPicture) #1730
  • (Android) notification with inline reply #612
  • (Android) Support using drawable as Android small icon #1787
react-native-push-notification - 6.1.3

Published by Dallas62 almost 4 years ago

Fixed

  • (Android) Null pointer exception when trying to create channel #1734
react-native-push-notification - 6.1.2

Published by Dallas62 almost 4 years ago

Fixed

  • (Android) Fix for vibration on notifs for Android API >= 26 #1686
react-native-push-notification - 6.1.1

Published by Dallas62 about 4 years ago

Fixed

  • (Android) Fix a crash when the application is in background #1676
react-native-push-notification - 6.1.0

Published by Dallas62 about 4 years ago

Features

  • (Android) Allow a default channel in the AndroidManifest:
          <meta-data android:name="com.dieam.reactnativepushnotification.default_notification_channel_id" android:value="..."/>
    
    If not defined, fallback to the Firebase value of:
          <meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="..."/>
    
    If not defined, fallback to the default Firebase channel id fcm_fallback_notification_channel
react-native-push-notification - 6.0.0

Published by Dallas62 about 4 years ago

Breaking changes

  • (Android) Channel Management: In order to limit the scope of responsability of this library, developers are now responsible of the creation of the channels. You can find the documentation at https://github.com/zo0r/react-native-push-notification#channel-management-android. These changes are also made to allow improvements in the future of the library. Here the list of impacts:
    • You must create your channels before triggering a notification.
    • These entries in AndroidManifest are deprecated:
          <meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name" android:value="..."/>
          <meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description" android:value="..."/>
          <meta-data android:name="com.dieam.reactnativepushnotification.channel_create_default" android:value="..."/>
    
    • Followings options changed on Android in localNotification and localNotificationSchedule:
      • channelId becomes mandatory (warning if not provided)
      • channelName is deprecated
      • channelDescription is deprecated
      • importance is deprecated
    • These changes help to avoid an issue #1649
  • (Android) Remove check for the intent BOOT_COMPLETED, this should allow more intent action such as QUICKBOOT_POWERON. It's recommended to update AndroidManifest, the RNPushNotificationBootEventReceiver to:
          <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
              <intent-filter>
                  <action android:name="android.intent.action.BOOT_COMPLETED" />
                  <action android:name="android.intent.action.QUICKBOOT_POWERON" />
                  <action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
              </intent-filter>
          </receiver>
    
  • @react-native-community/push-notification-ios is now a peerDependency, please make sure that you installed this library with NPM or YARN.
  • (Android) Fix a bug where notification data are not inside data property after been pressed by user. When sending notification + data and app in background.
  • (Android) Add more fields from the firebase notification part. (Thanks to @fattomhk with this PR #1626)
    • notificationPriority
    • image
    • tag
    • visibility
  • (Android) data.twi_body is no more used to trigger a notification in notification-center. Revert of #744

Fixed