Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master updated #1

Open
wants to merge 229 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
fcf12b9
typo
andrewtremblay-pear May 16, 2019
9d3967b
Add PushNotificationIOS installation instruction link
solidfox Aug 2, 2019
9c6b090
add fire date in notification resposne
narender2031 Mar 19, 2020
ad3888b
Prevent crash for NaN.
Dallas62 May 9, 2020
fe5b521
Update CHANGELOG.md.
Dallas62 May 9, 2020
2948bb6
Prevent sound to be mute in default state.
Dallas62 May 13, 2020
807c6fd
Missing change on variable name.
Dallas62 May 13, 2020
7e861c4
feat: multiple push providers
May 15, 2020
5716f1e
feat: explicitly override onNewToken
May 18, 2020
821cad2
#1431
taymer May 19, 2020
419dfa4
Merge pull request #1445 from sdenaci/multiple-push-providers
Dallas62 May 19, 2020
2254fd4
Move back onNewToken to Firebase service.
Dallas62 May 19, 2020
700cb44
Merge pull request #1446 from taymer/master
Dallas62 May 20, 2020
70b7e7c
Bump to 3.5.0.
Dallas62 May 20, 2020
278c9ae
Switch from support library to androidx.
Dallas62 May 21, 2020
2452909
Bump to 3.5.1.
Dallas62 May 21, 2020
23e0cb4
Update README.md
Dallas62 May 24, 2020
9f69896
Fix sounds volume and DND is ignored.
Dallas62 May 25, 2020
f8a0048
Remove extra interface.
Dallas62 May 25, 2020
1d497e6
Bump to 3.5.2.
Dallas62 May 25, 2020
742204b
Add the possibility to override Channel Name and Channel Description …
Dallas62 May 25, 2020
f0406be
Fix changelog, wrong issue mentioned.
Dallas62 May 25, 2020
bbe5248
Add missing push timestamp for Android 7+
xvonabur May 15, 2020
725e5fe
Merge pull request #1345 from narender2031/master
Dallas62 May 27, 2020
a85e681
Update CHANGELOG.md
Dallas62 May 27, 2020
af43731
Add custom channel-id support.
Dallas62 May 27, 2020
86bbf60
Add shortcutId for better badge management.
Dallas62 May 27, 2020
b619e92
Improve documentation for Channel Management.
Dallas62 May 27, 2020
502180b
Fix name of variable.
Dallas62 May 27, 2020
b1673a9
Fix order of default values.
Dallas62 May 27, 2020
142fde6
Add largeIconUrl and bigPictureUrl.
Dallas62 May 28, 2020
562e250
Reference original PR #1444.
Dallas62 May 28, 2020
90a2af1
Check URI before load.
Dallas62 May 28, 2020
0cee8de
Implement groupSummary.
Dallas62 May 28, 2020
d51836f
Merge pull request #1441 from xvonabur/android_timestamp
Dallas62 May 28, 2020
cb7b575
Apply #1185
Dallas62 May 28, 2020
b3f4553
Merge pull request #1155 from solidfox/patch-1
Dallas62 May 28, 2020
3c79f9a
Add showWhen.
Dallas62 May 28, 2020
8372c5f
Add documentation for showWhen.
Dallas62 May 28, 2020
d1dd76c
Cleanup Event listener.
Dallas62 May 30, 2020
c9aae3c
Refactor to preprare version 4.0.0.
Dallas62 May 31, 2020
9f4bac3
Add reference of PR.
Dallas62 May 31, 2020
3e9df6f
Fix typo.
Dallas62 May 31, 2020
94fcadf
Merge pull request #1070 from andrewtremblay-pear/patch-1
Dallas62 May 31, 2020
fc077c6
Fix typo
Dallas62 Jun 3, 2020
4f685aa
Fix Actions when in killed state.
Dallas62 Jun 3, 2020
1db692b
Fix bug with action, only last action was notified.
Dallas62 Jun 3, 2020
8c4a4fc
Fix iOS crash with iOS.
Dallas62 Jun 4, 2020
3ecb5ec
getScheduledLocalNotifications for iOS and android
lukebars Jun 5, 2020
7f0a88b
Merge branch 'dev' of https://github.com/lukebars/react-native-push-n…
lukebars Jun 5, 2020
50da5a5
remove changes in whitespaces
lukebars Jun 5, 2020
3822a9b
whitespaces
lukebars Jun 5, 2020
a74d919
format android getScheduledLocalNotifications return object to match …
lukebars Jun 8, 2020
0e5ad34
change naming of notification params returned on android, return date…
lukebars Jun 8, 2020
e207fa8
add missing getters for notification attributes
lukebars Jun 8, 2020
b62b27b
map scheduled local notifications to united return object for both pl…
lukebars Jun 8, 2020
7c0a381
format date for scheduled notifications object
lukebars Jun 8, 2020
d904712
bump @react-native-community/push-notification-ios to v1.2.1
lukebars Jun 8, 2020
c4865aa
add example button to log scheduled notifications
lukebars Jun 8, 2020
ee9b9b7
add docs
lukebars Jun 8, 2020
1c7a196
"@react-native-community/push-notification-ios": "^1.2.2"
lukebars Jun 9, 2020
89ea506
Merge pull request #1466 from lukebars/master
BorisTacyniak Jun 9, 2020
6bcc2a9
`userInfo` is now populated with id by default to allow operation bas…
Dallas62 Jun 9, 2020
5994754
Add notification id to iOS if userInfo doesn't exist
lukebars Jun 10, 2020
7c5ac1d
Merge pull request #1474 from lukebars/patch-1
Dallas62 Jun 10, 2020
c90fc6e
return a Promise in getScheduledLocalNotifications
lukebars Jun 10, 2020
a5cdcda
updated example/App.js
lukebars Jun 10, 2020
b76a4e4
Merge pull request #1 from lukebars/patch-2
lukebars Jun 10, 2020
cf27897
Fix typo.
Dallas62 Jun 10, 2020
afb5e71
Fix notif reference undefined.
Dallas62 Jun 15, 2020
174ea3c
Allow override the channel name and description in App.
Dallas62 Jun 28, 2020
140273d
Add `onRegistrationError`.
Dallas62 Jun 28, 2020
0bfc74b
Remove WAKE_LOCK from documentation. #1494
Dallas62 Jun 30, 2020
5d7a228
replaced java.util.Random with java.security.SecureRandom in RNPushNo…
Jul 1, 2020
9aa88d6
Create FUNDING.yml
Dallas62 Jul 1, 2020
da34ac1
Fix custom link
Dallas62 Jul 1, 2020
031f10e
Merge pull request #1497 from majirosstefan/number-generator-fix
Dallas62 Jul 2, 2020
f8b5710
Update CHANGELOG.md
Dallas62 Jul 2, 2020
08c996f
Add createChannel helper and @ReactMethod for pre-creating custom And…
aranda-adapptor Jul 6, 2020
a4f93c6
Add message_id to intent extras for local notification integration wi…
aranda-adapptor Jul 6, 2020
ad5f98e
Support empty strings for Android icons to match default background f…
aranda-adapptor Jul 6, 2020
f19d05d
Use SecureRandom and remove `onNotification` call for Scheduled notif…
Dallas62 Jul 6, 2020
faf2440
Release v4.0.0.
Dallas62 Jul 6, 2020
e37552d
Merge branch 'dev'
Dallas62 Jul 6, 2020
86af98d
Bump package.json to 4.0.0
Dallas62 Jul 6, 2020
2816253
Update CHANGELOG.md
Brianop Jul 7, 2020
1b73593
Merge pull request #1508 from Brianop/patch-1
Dallas62 Jul 7, 2020
a5d564e
Fix code getting `createChannel` `vibrate` parameter
aranda-adapptor Jul 7, 2020
57ce995
Update docs for `createChannel`
aranda-adapptor Jul 7, 2020
f876f01
Add docs for `messageId` parameter
aranda-adapptor Jul 7, 2020
ec05c04
Add docs for icon strings
aranda-adapptor Jul 7, 2020
74e9b8b
add data to android notification when scheduling
lukebars Jul 8, 2020
454af8c
"@react-native-community/push-notification-ios": "^1.3.0"
lukebars Jul 8, 2020
579ffb8
reflecting userInfo working on both platforms in documentation and ex…
lukebars Jul 8, 2020
0c828e9
Merge branch 'master' of https://github.com/lukebars/react-native-pus…
lukebars Jul 8, 2020
3e19105
revert changes
lukebars Jul 8, 2020
85952df
populate userInfo with id on both platforms
lukebars Jul 8, 2020
22d8c75
return notification id in onNotification method on iOS
lukebars Jul 8, 2020
3b10362
[ANDROID] Add support for setOnlyAlertOnce property
Jul 9, 2020
e914173
Merge pull request #1511 from Adapptor/icon-empty-strings
Dallas62 Jul 13, 2020
b1f6474
Update README.md
Dallas62 Jul 15, 2020
3e4930d
Merge pull request #1509 from Adapptor/precreate-channels
Dallas62 Jul 16, 2020
8019f42
Merge pull request #1510 from Adapptor/message-id
Dallas62 Jul 16, 2020
a4b4de9
Merge pull request #1519 from adrian-chojecki/master
Dallas62 Jul 16, 2020
8f3f5c7
Update code from recent PR for scheduled notifications
Dallas62 Jul 16, 2020
354e619
Rename `channelDesc` to `channelDescription`.
Dallas62 Jul 16, 2020
5efb44d
Fixed a syntax error
scchess Jul 17, 2020
cac713d
Merge pull request #1543 from student-t/master
Dallas62 Jul 18, 2020
9e84803
align onNotification on both platforms
lukebars Jul 21, 2020
2c12038
[Android] Allow to change default notification channel name after it'…
Dallas62 Jul 22, 2020
7a3866e
Update CHANGELOG.md
Dallas62 Jul 22, 2020
471d3bb
Add tests for channel update. #1549
Dallas62 Jul 22, 2020
30b89c8
Update README.md
Dallas62 Jul 22, 2020
9c34ed6
Update README.md
Dallas62 Jul 22, 2020
9ae2ce5
Fix case of small/large icon null.
Dallas62 Jul 22, 2020
9cc4167
keep notification data from fcm while populating data userInfo
lukebars Jul 27, 2020
d547687
make sure data/userInfo is an object before spreading
lukebars Jul 27, 2020
7589c4a
Apply changes to popInitialNotification.
Dallas62 Jul 27, 2020
271461e
fix popInitialNotification and null pointer
Dallas62 Jul 27, 2020
762f4c0
Fix behaviour of popInitialNotification and onNotification.
Dallas62 Jul 31, 2020
ab8e29f
Merge pull request #1516 from lukebars/patch-3
Dallas62 Aug 3, 2020
1f97855
Release version 5.0.0.
Dallas62 Aug 3, 2020
f42a581
Merge branch 'dev'
Dallas62 Aug 3, 2020
883d062
Update CHANGELOG.md
Dallas62 Aug 3, 2020
bd9aa19
Fix #1578.
Dallas62 Aug 4, 2020
9b90d4d
Add issue details on Changelog.
Dallas62 Aug 4, 2020
2ae30a1
Bump version 5.0.1
Dallas62 Aug 4, 2020
7840574
Change README version format.
Dallas62 Aug 4, 2020
85214ae
Update README.md
vikrantnegi Aug 4, 2020
f3a7760
Merge pull request #1579 from vikrantnegi/master
Dallas62 Aug 4, 2020
2db1e05
Update README.md
Dallas62 Aug 5, 2020
e89f75c
Add support for specifying a delegate/parent FirebaseMessagingService…
james-relyea Aug 10, 2020
acac514
Merge pull request #1589 from ToneItUp/master
Dallas62 Aug 12, 2020
eb538f2
Update CHANGELOG.
Dallas62 Aug 12, 2020
c283ac4
Fix a bug where user interaction is not set.
Dallas62 Aug 12, 2020
c391403
Wrong name of parameter and CHANGELOG.
Dallas62 Aug 12, 2020
ee6a62e
Implement features for #1588.
Dallas62 Aug 16, 2020
4c81b76
Add help about local notifications problems
Scriptonita Aug 25, 2020
9ca18b1
Merge pull request #1613 from Scriptonita/master
Dallas62 Aug 31, 2020
67c5dde
Merge commit '9ca18b1e575f2c71cde4b74a929041e55bec3c78' into dev
Dallas62 Aug 31, 2020
3d769ad
Bump version to 5.1.0.
Dallas62 Aug 31, 2020
7bcbed4
Regroup notification data inside `data` property.
Dallas62 Sep 2, 2020
addd6f5
Add explanation to DO NOT USE `.configure()` INSIDE A COMPONENT, EVEN…
SConaway Sep 4, 2020
bedc8f6
Upgrade iOS library.
Dallas62 Sep 12, 2020
c1880e7
Fix #1641
Dallas62 Sep 14, 2020
20be169
Merge pull request #1630 from SConaway/patch-1
Dallas62 Sep 14, 2020
a99269c
Upgrade to 5.1.1.
Dallas62 Sep 15, 2020
b69f67b
Prepare next release
Dallas62 Sep 19, 2020
a4ba5ba
Revert #744.
Dallas62 Sep 23, 2020
64e2a67
Merge branch 'master' into dev and prepare 6.0.0
Dallas62 Sep 26, 2020
a32a63c
Wrong CHANGELOG.
Dallas62 Sep 26, 2020
a9e3ab8
Prevent this issue #1671.
Dallas62 Sep 28, 2020
7b5f945
Allow to define a default channel in AndroidManifest, useful for fore…
Dallas62 Sep 28, 2020
e80d36a
Fix #1676
Dallas62 Sep 29, 2020
60883d1
Update README.md
Dallas62 Oct 3, 2020
b89eb22
This fixes the vibration feature for notification for Android notific…
Oct 4, 2020
0638367
Update RNPushNotificationHelper.java
Oct 20, 2020
795c64c
Merge pull request #1686 from mineshpatel1/master
Oct 20, 2020
9bfd540
Revert.
Dallas62 Oct 20, 2020
251a3ac
Bump version to 6.1.2
Dallas62 Oct 20, 2020
7d24f9c
Android: silent channel using playSound flag
halaei Nov 8, 2020
f74e38b
Fix a crash when trying to update a channel.
Dallas62 Nov 9, 2020
52fee0e
playSound in readme
halaei Nov 10, 2020
e370aeb
Merge pull request #1736 from halaei/silent-channel
Nov 10, 2020
bc45aa5
Update README.md
jeremybarbet Nov 10, 2020
2f3fac4
Merge pull request #1740 from jeremybarbet/master
Nov 10, 2020
0560544
[other] Reduce npm package size
retyui Nov 10, 2020
f724c36
Merge pull request #1742 from retyui/reduce-npm-size
Nov 10, 2020
c71c470
Replace deprecated methods presentLocalNotification and scheduleLocal…
nbolender Nov 20, 2020
8e89b27
swap cancelAllLocalNotifications for removeAllPendingNotificationRequ…
nbolender Nov 21, 2020
329c277
Update peer dependency
nbolender Nov 22, 2020
353b735
Fix sound, badge, and repeat properties in localNotificationSchedule;…
nbolender Nov 24, 2020
8691920
Update peer dependency; Update cancelLocalNotifications
nbolender Nov 25, 2020
28cf219
Correct parameter
nbolender Nov 25, 2020
a50b87b
Update README.md
Dimon70007 Nov 27, 2020
1402265
Merge pull request #1762 from Dimon70007/patch-1
Nov 27, 2020
f2ffd97
Merge pull request #1751 from nbolender/remove-deprecated-local-notif…
Dec 1, 2020
fa0bd1b
Rename the ReactNative Package.
Dallas62 Dec 2, 2020
b343f50
[Android] notification with inline reply (#612)
lluis-sancho Dec 12, 2020
c12315c
implement 'bigLargeIcon' for Android notifications (#1730)
vanso-hubsi Dec 12, 2020
2e5fa1c
Update CHANGELOG.md
Dallas62 Dec 12, 2020
629c532
Default using drawable as Android small icon
hojason117 Dec 22, 2020
3e87b12
Default using drawable as Android large icon
hojason117 Dec 23, 2020
469c167
Merge pull request #1787 from hojason117/androidDrawableIcon
Dec 23, 2020
3641bf6
Release 7.0.0
Dallas62 Dec 23, 2020
568f25f
Update README.md
Dallas62 Dec 23, 2020
2682658
Update CHANGELOG.md
Dec 23, 2020
21a101f
(fix) deep clone details and notifications
Dec 26, 2020
c052494
[Android] Add hooks to intent handling and bundle parsing
cayleyh Jan 13, 2021
359aeb0
Merge pull request #1819 from cayleyh/intent-handling-hooks
Jan 16, 2021
b8949c2
Update to 7.1.0.
Dallas62 Jan 16, 2021
b555040
Update CHANGELOG.md
Dallas62 Jan 16, 2021
4d43ddb
unsubscribeFromTopic fix
Jan 19, 2021
bf62c62
Merge pull request #1831 from Codelabsys/unsubscribeFromTopicFix
Jan 19, 2021
036b194
Release fix 7.1.1.
Dallas62 Jan 20, 2021
4fa8ac1
Fix npm version.
Dallas62 Jan 20, 2021
1101e84
Handle localization for notification title and body
plus- Jan 20, 2021
8161e1b
Update RNReceivedMessageHandler.java
Jan 24, 2021
a4c6459
Merge pull request #1837 from plus-/master
Jan 24, 2021
e1a3f3d
Bump version 7.2.0
Dallas62 Jan 24, 2021
6d321f4
Better documentation to PushNotificationIOS integration
eyalyoli Feb 1, 2021
ebfebd3
Merge pull request #1 from eyalyoli/eyalyoli-better-readme
eyalyoli Feb 1, 2021
4c1d705
Merge pull request #1845 from eyalyoli/master
Feb 1, 2021
bf4fccb
Remove redundant import statement
vaibhavhrt Feb 3, 2021
3ad9182
Merge pull request #1847 from vaibhavhrt/vaibhavhrt-patch-1
Feb 3, 2021
1f462d8
Upgrade to version 7.2.1.
Dallas62 Feb 11, 2021
1669ce9
Document format of `when:` value
ge0rg Mar 1, 2021
e00c97c
Merge pull request #1897 from ge0rg/master
Mar 1, 2021
4b7e095
Merge pull request #1793 from Stanislavja/master
Mar 3, 2021
a97635e
Fixes #1878
Dallas62 Mar 4, 2021
a9083c8
Merge branch 'master' of github.com:zo0r/react-native-push-notification
Dallas62 Mar 4, 2021
e323504
Missing PR in Changelog.
Dallas62 Mar 4, 2021
bea0e6c
(fix) remove unnecessary imports and extra variables.
Stanislavja Mar 10, 2021
479e41d
Merge pull request #1905 from Stanislavja/master
Mar 10, 2021
6ed3d13
Document `data` in getScheduledLocalNotifications()
s-fletcher Mar 13, 2021
092d556
Merge pull request #1910 from s-fletcher/master
Mar 13, 2021
78363c4
Update README.md
Mar 18, 2021
3b67767
fix(ios): foreground notification property
Mar 18, 2021
60ea210
Merge pull request #1916 from Pernett98/feature/fix-foreground-property
Mar 18, 2021
7db7e38
Prepare next release.
Dallas62 Mar 18, 2021
c81efe1
Merge branch 'master' into dev
Dallas62 Mar 18, 2021
4110df8
Bump version 7.2.3.
Dallas62 Mar 18, 2021
2e2226d
Document: Override on onNewIntent
Mar 29, 2021
f031ce7
Documentation update, fix indentation
isamu Apr 6, 2021
86d562e
Merge pull request #1941 from isamu/patch-1
Apr 6, 2021
49619e8
Update README.md
Apr 12, 2021
64c1dff
Adding mavenCentral() as jcenter() is shutting
maheshwarimrinal Apr 18, 2021
b77c465
Merge pull request #1956 from maheshwarimrinal/patch-1
Apr 18, 2021
8f9d147
Merge remote-tracking branch 'upstream/master'
Apr 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: [Dallas62]
custom: ["https://www.buymeacoffee.com/Dallas62"]
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ about: Report a reproducible bug or regression in this library.
# Bug

<!--
Before submitting it, please ensure that this was not already asked in another issue, or on StackOverflow. Ideally, you should always refer to StackOverflow first.

Please provide a clear and concise description of what the bug is.
Include screenshots or gifs if needed.
Please test using the latest release of the library, as maybe your bug has been already fixed.
Expand Down Expand Up @@ -50,4 +52,5 @@ Describe what you expected to happen:

<!--
Please add minimal runnable repro as explained above so that the bug can be tested in isolation.
Use the example project to reproduce it.
-->
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ android/src/main/gen

#Debug only
google-services.json

.vscode/
11 changes: 10 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,13 @@ local.properties
example

# Git
.git
.git

# GitHub
.github/*

# Docs
submitting-a-pull-request.md

# Vscode
.vscode/*
246 changes: 243 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,255 @@

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## Unreleased

### Breaking changes

### Features

### Fixed

## [7.2.3] 2021-03-18

### Fixed

- (Android) Fix: Notification drawer doesn't close after click on action that navigates you to app [#1914](https://github.com/zo0r/react-native-push-notification/issues/1914)
- (iOS) Fix: foreground notification property [#1916](https://github.com/zo0r/react-native-push-notification/pull/1916)

## [7.2.2] 2021-03-04

### Fixed

- (Android) Fix: Could not invoke RNPushNotification.getDeliveredNotifications. [#1878](https://github.com/zo0r/react-native-push-notification/issues/1878)
- (fix) deep clone details and notifications. [#1793](https://github.com/zo0r/react-native-push-notification/issues/1793)

## [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

- (Android) Handle localization for notification title and body [#1837](https://github.com/zo0r/react-native-push-notification/pull/1837)

## [7.1.1] 2021-01-20

### Fixed

- (Android) unsubscribeFromTopic function fix [#1831](https://github.com/zo0r/react-native-push-notification/pull/1831)

## [7.1.0] 2021-01-16

# Features

- (Android) Add hooks to intent handling and bundle parsing [#1819](https://github.com/zo0r/react-native-push-notification/pull/1819)

## [7.0.0] 2020-12-23

### Breaking changes

- (iOS) Replace deprecated local notification methods on iOS [#1751](https://github.com/zo0r/react-native-push-notification/pull/1751)
- (Android) Rename the Android package from `RNPushNotification` to `ReactNativePushNotification` resolve [#893](https://github.com/zo0r/react-native-push-notification/issues/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](https://github.com/zo0r/react-native-push-notification/pull/1730)
- (Android) notification with inline reply [#612](https://github.com/zo0r/react-native-push-notification/pull/612)
- (Android) Support using drawable as Android small icon [#1787](https://github.com/zo0r/react-native-push-notification/pull/1787)

## [6.1.3] 2020-11-09

### Fixed

- (Android) Null pointer exception when trying to create channel [#1734](https://github.com/zo0r/react-native-push-notification/issues/1734)

## [6.1.2] 2020-10-29

### Fixed

- (Android) Fix for vibration on notifs for Android API >= 26 [#1686](https://github.com/zo0r/react-native-push-notification/pull/1686)

## [6.1.1] 2020-09-29

### Fixed

- (Android) Fix a crash when the application is in background [#1676](https://github.com/zo0r/react-native-push-notification/issues/1676)

## [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:
- You must create your channels before triggering a notification.
- These entries in `AndroidManifest` are deprecated:
```xml
<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](https://github.com/zo0r/react-native-push-notification/issues/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:
```xml
<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](https://github.com/zo0r/react-native-push-notification/pull/1626))
- `notificationPriority`
- `image`
- `tag`
- `visibility`
- (Android) `data.twi_body` is no more used to trigger a notification in notification-center. Revert of [#744](https://github.com/zo0r/react-native-push-notification/pull/744)

### Fixed

- (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

### Fixed

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

## [5.1.0] 2020-08-31

### Features

- (Android) Add support for specifying a delegate FirebaseMessagingService [#1589](https://github.com/zo0r/react-native-push-notification/pull/1589)
- (Android) Add support of `when`, `usesChronometer` and `timeoutAfter`.

### Fixed

- (Android) Fix a bug where `userInteraction` is not set, notification when app in background pressed by user.


## [5.0.1] 2020-08-04

### Fixed

- (Android) Fix change that make gradle build fail [#1578](https://github.com/zo0r/react-native-push-notification/pull/1578).

## [5.0.0] 2020-08-03

### Breaking changes

- (Android/iOS) Unify returned values between iOS and Android [#1516](https://github.com/zo0r/react-native-push-notification/pull/1516).
- (Android/iOS) `.popInitialNotification(callback)` now return the same format as `onNotification()`.
- (Android) `popInitialNotification` in `configure()` now trigger only once on app startup, same as iOS.
- (Android) `notification.foreground` now return the good value, before the value was `false` most of the time.

### Features

- (Android) Add function `createChannel` for custom Android channel support [#1509](https://github.com/zo0r/react-native-push-notification/pull/1509)
- (Android) Add Android `messageId` to enable integration with `react-native-firebase/messaging` [#1510](https://github.com/zo0r/react-native-push-notification/pull/1510)
- (Android) Add support for `onlyAlertOnce` property [#1519](https://github.com/zo0r/react-native-push-notification/pull/1519)
- (Android) Allow to change default notification channel name after it's creation [#1549](https://github.com/zo0r/react-native-push-notification/pull/1549)

### Fixed

- (Android) `popInitialNotification` in `configure()` now trigger only once and do not trigger twice `onNotification()` when user press the notification, more details: [#1516](https://github.com/zo0r/react-native-push-notification/pull/1516).
- (Android) `notification.foreground` now return the good value, before the value was `false` most of the time.

## [4.0.0] 2020-07-06

### Breaking changes

- `RNPushNotificationRegistrationService` has been removed, old reference in AndroidManifest must be removed.
- `Notifications.registerNotificationActions()` has been removed and is not required for `actions`.
- `DeviceEventEmitter.addListener('notificationActionReceived', callback)` is replaced by `onAction`.
- Extra receiver must be added to manage actions.
```xml
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" />
```
- (iOS) `userInfo` is now populated with id by default to allow operation based on `id`.

### Features

- (Android) `actions` accept an array of strings.
- (Android) `invokeApp` allow you to handle actions in background without invoking the application.
- (Android) `onAction` has been added to `.configure()` to handle action in background.
- (Android) `PushNotification.invokeApp(notification)` allow you to invoke the application when in background (notification for initial notification).
- (Android) `PushNotification.getChannels(callback)` allow you to get the list of channels.
- (Android) `PushNotification.channelExists(channel_id, callback)` allow you to check of a channel exists.
- (Android) `PushNotification.channelBlocked(channel_id, callback)` allow you to check of a channel is blocked. Based on [#1249](https://github.com/zo0r/react-native-push-notification/pull/1249)
- (Android) `PushNotification.deleteChannel(channel_id)` allow you to delete a channel.
- (Android) Add `largeIconUrl` to load a largeIcon based on Url. Based on [#1444](https://github.com/zo0r/react-native-push-notification/pull/1444)
- (Android) Add `bigPictureUrl` to load a picture based on Url. Based on [#1444](https://github.com/zo0r/react-native-push-notification/pull/1444)
- (Android) Add `shortcutId` for better badges management.
- (Android) Add `showWhen` to display "when" it was published, default: true.
- (Android) Add `groupSummary` to allow grouping notifications. Based on [#1253](https://github.com/zo0r/react-native-push-notification/pull/1253)
- (Android) Add `channelId`, custom channel_id in android. Based on [#1159](https://github.com/zo0r/react-native-push-notification/pull/1159)
- (Android) Add `channelName`, custom channel_name in android.
- (Android) Add `channelDescription`, custom channel_description in android.
- (iOS) Add fire date in notification response, NOTE: `push-notification-ios` in version `> 1.2.0` [#1345](https://github.com/zo0r/react-native-push-notification/pull/1345)
- (iOS) `onRegistrationError` has been added to `.configure()` to handle `registrationError` events.
- (Android/iOS) Add method getScheduledLocalNotifications()[#1466](https://github.com/zo0r/react-native-push-notification/pull/1466)

### Fixed

- (Android) Replace java.util.Random with java.security.SecureRandom [#1497](https://github.com/zo0r/react-native-push-notification/pull/1497)
- (Android) WAKE_LOCK permission removed from documentation. [#1494](https://github.com/zo0r/react-native-push-notification/issues/1494)
- (Android) Some options were ignored on scheduled/repeating notifications (allowWhileIdle, ignoreInForeground).
- (Android/iOS) popInitialInotification might be ignored in `.configure()`

## [3.5.2] - 2020-05-25

### Fixed

- (Android) Sounds are playing even in Do Not Disturb [#1432](https://github.com/zo0r/react-native-push-notification/issues/1432#issuecomment-633367111)
- (Android) onNotification fires every time when the app goes from background to foreground [#1455](https://github.com/zo0r/react-native-push-notification/issues/1455)
- (Android) java.lang.NullPointerException: Attempt to invoke virtual method 'void com.dieam.reactnativepushnotification.modules.d.c(android.os.Bundle)' on a null object reference [#1431](https://github.com/zo0r/react-native-push-notification/issues/1431#issuecomment-633315150)

## [3.5.1] - 2020-05-20

### Fixed

- (Android) When updating 3.4 to 3.5, unable to compile Android [#1449](https://github.com/zo0r/react-native-push-notification/pull/1449)

## [3.5.0] - 2020-05-20

### Features

- (Android) Enables the ability to support multiple push providers [#1445](https://github.com/zo0r/react-native-push-notification/pull/1445)

### Fixed

- (Android) No sound on notifications [#1432](https://github.com/zo0r/react-native-push-notification/issues/1432)
- (Android) onNotification is not calling when app is in background [#1446](https://github.com/zo0r/react-native-push-notification/pull/1446)
- (Android) `number` and `id` do not crash if NaN is passed in Android.

## [3.4.0] - 2020-05-08

### Features
Expand Down
Loading