react-native-push-notification
Advanced tools
Comparing version
@@ -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 |
{ | ||
"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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
266767
0.88%2692
0.82%681
2.41%