Skip to content

Commit

Permalink
Upgrade to version 7.2.1.
Browse files Browse the repository at this point in the history
Fix #1858
  • Loading branch information
Dallas62 committed Feb 11, 2021
1 parent 3ad9182 commit 1f462d8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html

### Fixed

## [7.2.1] 2021-02-11

### Fixed

- (iOS) Fix `playSound` options on local notifications. [1858](https://github.com/zo0r/react-native-push-notification/issues/1858#issuecomment-775714298)

## [7.2.0] 2021-01-24

### Features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# React Native Push Notifications
# React Native Push Notifications

[![npm version](https://badge.fury.io/js/react-native-push-notification.svg?update=9)](http://badge.fury.io/js/react-native-push-notification)
[![npm downloads](https://img.shields.io/npm/dm/react-native-push-notification.svg?update=9)](http://badge.fury.io/js/react-native-push-notification)
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ Notifications.localNotification = function(details) {
body: details.message,
badge: details.number,
sound: soundName,
isSilent: details.playSound === false,
category: details.category,
userInfo: details.userInfo
});
Expand Down Expand Up @@ -258,6 +259,7 @@ Notifications.localNotificationSchedule = function(details) {
title: details.title,
body: details.message,
sound: soundName,
isSilent: details.playSound === false,
category: details.category,
userInfo: details.userInfo,
repeats: (details.repeatType && details.repeatType == "day"),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-push-notification",
"version": "7.2.0",
"version": "7.2.1",
"description": "React Native Local and Remote Notifications",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1f462d8

Please sign in to comment.