You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,22 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
12
12
13
13
### Fixed
14
14
15
+
## [8.0.0] 2021-08-19
16
+
17
+
### Breaking changes
18
+
19
+
-`userInfo` is no more populated with the `id` of the notification, initialy included to cancel scheduled notifications. This change will probably not impact you.
20
+
- Rename `cancelLocalNotifications` to `cancelLocalNotification` (deprecation notice).
21
+
22
+
### Features
23
+
24
+
- (iOS) upgrade `@react-native-community/push-notification-ios` to version [1.9.0](https://github.com/react-native-push-notification/ios/releases/tag/v1.9.0)
25
+
-`picture` is now support for both Android and iOS, (alias of `bigPictureUrl` for Android).
26
+
27
+
### Fixed
28
+
29
+
- (Android): Fix bug cancelLocalNotifications() does not work on Android [#2100](https://github.com/zo0r/react-native-push-notification/issues/2100)
id:0, // (optional) Valid unique 32 bit integer specified as string. default: Autogenerated Unique ID
343
343
title:"My Notification Title", // (optional)
344
344
message:"My Notification Message", // (required)
345
+
picture:"https://www.example.tld/picture.jpg", // (optional) Display an picture with the notification, alias of `bigPictureUrl` for Android. default: undefined
345
346
userInfo: {}, // (optional) default: {} (using null throws a JSON value '<null>' error)
346
347
playSound:false, // (optional) default: true
347
348
soundName:"default", // (optional) Sound to play when the notification is shown. Value of 'default' plays the default sound. It can be set to a custom sound such as 'android.resource://com.xyz/raw/my_sound'. It will look for the 'my_sound' audio file in 'res/raw' directory and play it. default: 'default' (default sound is played)
The `id` parameter for `PushNotification.localNotification` is required for this operation. The id supplied will then be used for the cancel operation.
0 commit comments