You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-push-notification

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-push-notification - npm Package Compare versions

Comparing version

to
6.1.0

26

CHANGELOG.md

@@ -11,2 +11,24 @@ # Changelog

### Features
### Fixed
## [6.1.0] 2020-09-28
### Features
- (Android) Allow a default channel in the `AndroidManifest`:
```xml
<meta-data android:name="com.dieam.reactnativepushnotification.default_notification_channel_id" android:value="..."/>
```
If not defined, fallback to the Firebase value of:
```xml
<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`
## [6.0.0] 2020-09-26
### 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:

@@ -47,5 +69,4 @@ - You must create your channels before triggering a notification.

<<<<<<< HEAD
- (iOS) upgrade `@react-native-community/push-notification-ios`, fixe the value of `userInteraction` [@react-native-community/push-notification-ios#122](https://github.com/react-native-community/push-notification-ios/pull/122).
=======
## [5.1.1] 2020-09-15

@@ -56,3 +77,2 @@

- (Android) Fatal Exception: java.lang.NullPointerException [#1641](https://github.com/zo0r/react-native-push-notification/issues/1641)
>>>>>>> master

@@ -59,0 +79,0 @@ ## [5.1.0] 2020-08-31

2

package.json
{
"name": "react-native-push-notification",
"version": "6.0.0",
"version": "6.1.0",
"description": "React Native Local and Remote Notifications",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -423,2 +423,18 @@ # React Native Push Notifications

For local notifications, the same kind of option is available:
- you can use:
```xml
<meta-data
android:name="com.dieam.reactnativepushnotification.default_notification_channel_id"
android:value="@string/default_notification_channel_id" />
```
- If not defined, fallback to the Firebase value defined in the `AndroidManifest`:
```xml
<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`
### List channels

@@ -425,0 +441,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.