@imatis/react-native-notifications 4.2.4-imatis.21 → 4.3.1-imatis.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.gren.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.3.0 (24/04/2022)
4
+
5
+ #### Enhancements:
6
+
7
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
8
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
9
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
10
+
11
+ #### Bug Fixes:
12
+
13
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
14
+
15
+ ---
16
+
17
+ ## 4.2.4 (09/03/2022)
18
+
19
+ #### Enhancements:
20
+
21
+ - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
22
+
23
+ ---
24
+
3
25
  ## 4.2.3 (02/03/2022)
4
26
 
5
27
  #### Bug Fixes:
@@ -148,10 +170,7 @@
148
170
  ---
149
171
 
150
172
  ## 3.3.2 (06/08/2020)
151
-
152
- #### Enhancements:
153
-
154
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
173
+ *No changelog for this release.*
155
174
 
156
175
  ---
157
176
 
@@ -161,10 +180,7 @@
161
180
  ---
162
181
 
163
182
  ## 3.3.0 (23/07/2020)
164
-
165
- #### Bug Fixes:
166
-
167
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
183
+ *No changelog for this release.*
168
184
 
169
185
  ---
170
186
 
@@ -177,6 +193,9 @@
177
193
 
178
194
  #### Enhancements:
179
195
 
196
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
197
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
198
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
180
199
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
181
200
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
182
201
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -197,10 +216,11 @@
197
216
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
198
217
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
199
218
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
200
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
201
219
 
202
220
  #### Bug Fixes:
203
221
 
222
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
223
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
204
224
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
205
225
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
206
226
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -216,14 +236,16 @@
216
236
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
217
237
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
218
238
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
219
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
220
239
 
221
240
  ---
222
241
 
223
- ## 3.1.0 (31/12/1969)
242
+ ## 3.1.1 (31/12/1969)
224
243
 
225
244
  #### Enhancements:
226
245
 
246
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
247
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
248
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
227
249
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
228
250
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
229
251
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -244,10 +266,11 @@
244
266
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
245
267
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
246
268
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
247
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
248
269
 
249
270
  #### Bug Fixes:
250
271
 
272
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
273
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
251
274
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
252
275
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
253
276
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -263,14 +286,16 @@
263
286
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
264
287
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
265
288
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
266
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
267
289
 
268
290
  ---
269
291
 
270
- ## 3.0.0 (31/12/1969)
292
+ ## 3.1.0 (31/12/1969)
271
293
 
272
294
  #### Enhancements:
273
295
 
296
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
297
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
298
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
274
299
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
275
300
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
276
301
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -291,10 +316,11 @@
291
316
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
292
317
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
293
318
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
294
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
295
319
 
296
320
  #### Bug Fixes:
297
321
 
322
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
323
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
298
324
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
299
325
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
300
326
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -310,14 +336,16 @@
310
336
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
311
337
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
312
338
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
313
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
314
339
 
315
340
  ---
316
341
 
317
- ## 3.0.0-beta.4 (31/12/1969)
342
+ ## 3.0.0 (31/12/1969)
318
343
 
319
344
  #### Enhancements:
320
345
 
346
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
347
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
348
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
321
349
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
322
350
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
323
351
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -338,10 +366,11 @@
338
366
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
339
367
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
340
368
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
341
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
342
369
 
343
370
  #### Bug Fixes:
344
371
 
372
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
373
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
345
374
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
346
375
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
347
376
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -357,14 +386,16 @@
357
386
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
358
387
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
359
388
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
360
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
361
389
 
362
390
  ---
363
391
 
364
- ## 3.0.0-beta.3 (31/12/1969)
392
+ ## 3.0.0-beta.4 (31/12/1969)
365
393
 
366
394
  #### Enhancements:
367
395
 
396
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
397
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
398
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
368
399
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
369
400
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
370
401
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -385,10 +416,11 @@
385
416
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
386
417
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
387
418
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
388
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
389
419
 
390
420
  #### Bug Fixes:
391
421
 
422
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
423
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
392
424
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
393
425
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
394
426
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -404,14 +436,16 @@
404
436
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
405
437
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
406
438
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
407
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
408
439
 
409
440
  ---
410
441
 
411
- ## 3.0.0-beta.2 (31/12/1969)
442
+ ## 3.0.0-beta.3 (31/12/1969)
412
443
 
413
444
  #### Enhancements:
414
445
 
446
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
447
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
448
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
415
449
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
416
450
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
417
451
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -432,10 +466,11 @@
432
466
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
433
467
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
434
468
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
435
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
436
469
 
437
470
  #### Bug Fixes:
438
471
 
472
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
473
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
439
474
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
440
475
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
441
476
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -451,14 +486,16 @@
451
486
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
452
487
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
453
488
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
454
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
455
489
 
456
490
  ---
457
491
 
458
- ## 3.0.0-beta.1 (31/12/1969)
492
+ ## 3.0.0-beta.2 (31/12/1969)
459
493
 
460
494
  #### Enhancements:
461
495
 
496
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
497
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
498
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
462
499
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
463
500
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
464
501
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -479,10 +516,11 @@
479
516
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
480
517
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
481
518
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
482
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
483
519
 
484
520
  #### Bug Fixes:
485
521
 
522
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
523
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
486
524
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
487
525
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
488
526
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -498,14 +536,16 @@
498
536
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
499
537
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
500
538
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
501
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
502
539
 
503
540
  ---
504
541
 
505
- ## 3.0.0-beta.0 (31/12/1969)
542
+ ## 3.0.0-beta.1 (31/12/1969)
506
543
 
507
544
  #### Enhancements:
508
545
 
546
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
547
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
548
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
509
549
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
510
550
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
511
551
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -526,10 +566,11 @@
526
566
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
527
567
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
528
568
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
529
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
530
569
 
531
570
  #### Bug Fixes:
532
571
 
572
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
573
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
533
574
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
534
575
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
535
576
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -545,14 +586,16 @@
545
586
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
546
587
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
547
588
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
548
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
549
589
 
550
590
  ---
551
591
 
552
- ## 3.0.0-alpha.0 (31/12/1969)
592
+ ## 3.0.0-beta.0 (31/12/1969)
553
593
 
554
594
  #### Enhancements:
555
595
 
596
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
597
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
598
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
556
599
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
557
600
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
558
601
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -573,10 +616,11 @@
573
616
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
574
617
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
575
618
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
576
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
577
619
 
578
620
  #### Bug Fixes:
579
621
 
622
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
623
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
580
624
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
581
625
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
582
626
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -592,14 +636,16 @@
592
636
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
593
637
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
594
638
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
595
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
596
639
 
597
640
  ---
598
641
 
599
- ## 2.1.7 (31/12/1969)
642
+ ## 3.0.0-alpha.0 (31/12/1969)
600
643
 
601
644
  #### Enhancements:
602
645
 
646
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
647
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
648
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
603
649
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
604
650
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
605
651
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -620,10 +666,11 @@
620
666
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
621
667
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
622
668
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
623
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
624
669
 
625
670
  #### Bug Fixes:
626
671
 
672
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
673
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
627
674
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
628
675
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
629
676
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -639,14 +686,16 @@
639
686
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
640
687
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
641
688
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
642
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
643
689
 
644
690
  ---
645
691
 
646
- ## 2.1.6 (31/12/1969)
692
+ ## 2.1.7 (31/12/1969)
647
693
 
648
694
  #### Enhancements:
649
695
 
696
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
697
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
698
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
650
699
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
651
700
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
652
701
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -667,10 +716,11 @@
667
716
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
668
717
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
669
718
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
670
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
671
719
 
672
720
  #### Bug Fixes:
673
721
 
722
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
723
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
674
724
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
675
725
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
676
726
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -686,14 +736,16 @@
686
736
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
687
737
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
688
738
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
689
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
690
739
 
691
740
  ---
692
741
 
693
- ## 2.1.5 (31/12/1969)
742
+ ## 2.1.6 (31/12/1969)
694
743
 
695
744
  #### Enhancements:
696
745
 
746
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
747
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
748
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
697
749
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
698
750
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
699
751
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -714,10 +766,11 @@
714
766
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
715
767
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
716
768
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
717
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
718
769
 
719
770
  #### Bug Fixes:
720
771
 
772
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
773
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
721
774
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
722
775
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
723
776
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -733,14 +786,16 @@
733
786
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
734
787
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
735
788
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
736
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
737
789
 
738
790
  ---
739
791
 
740
- ## 2.1.4 (31/12/1969)
792
+ ## 2.1.5 (31/12/1969)
741
793
 
742
794
  #### Enhancements:
743
795
 
796
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
797
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
798
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
744
799
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
745
800
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
746
801
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -761,10 +816,11 @@
761
816
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
762
817
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
763
818
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
764
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
765
819
 
766
820
  #### Bug Fixes:
767
821
 
822
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
823
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
768
824
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
769
825
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
770
826
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -780,14 +836,16 @@
780
836
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
781
837
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
782
838
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
783
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
784
839
 
785
840
  ---
786
841
 
787
- ## 2.1.4-beta.0 (31/12/1969)
842
+ ## 2.1.4 (31/12/1969)
788
843
 
789
844
  #### Enhancements:
790
845
 
846
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
847
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
848
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
791
849
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
792
850
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
793
851
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -808,10 +866,11 @@
808
866
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
809
867
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
810
868
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
811
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
812
869
 
813
870
  #### Bug Fixes:
814
871
 
872
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
873
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
815
874
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
816
875
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
817
876
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -827,14 +886,16 @@
827
886
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
828
887
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
829
888
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
830
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
831
889
 
832
890
  ---
833
891
 
834
- ## 2.1.3 (31/12/1969)
892
+ ## 2.1.4-beta.0 (31/12/1969)
835
893
 
836
894
  #### Enhancements:
837
895
 
896
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
897
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
898
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
838
899
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
839
900
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
840
901
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -855,10 +916,11 @@
855
916
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
856
917
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
857
918
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
858
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
859
919
 
860
920
  #### Bug Fixes:
861
921
 
922
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
923
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
862
924
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
863
925
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
864
926
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -874,14 +936,16 @@
874
936
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
875
937
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
876
938
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
877
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
878
939
 
879
940
  ---
880
941
 
881
- ## 2.1.0 (31/12/1969)
942
+ ## 2.1.3 (31/12/1969)
882
943
 
883
944
  #### Enhancements:
884
945
 
946
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
947
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
948
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
885
949
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
886
950
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
887
951
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -902,10 +966,11 @@
902
966
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
903
967
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
904
968
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
905
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
906
969
 
907
970
  #### Bug Fixes:
908
971
 
972
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
973
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
909
974
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
910
975
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
911
976
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -921,14 +986,16 @@
921
986
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
922
987
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
923
988
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
924
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
925
989
 
926
990
  ---
927
991
 
928
- ## 4.2.4 (31/12/1969)
992
+ ## 2.1.0 (31/12/1969)
929
993
 
930
994
  #### Enhancements:
931
995
 
996
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
997
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
998
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
932
999
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
933
1000
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
934
1001
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -949,10 +1016,11 @@
949
1016
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
950
1017
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
951
1018
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
952
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
953
1019
 
954
1020
  #### Bug Fixes:
955
1021
 
1022
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1023
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
956
1024
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
957
1025
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
958
1026
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -968,14 +1036,16 @@
968
1036
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
969
1037
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
970
1038
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
971
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
972
1039
 
973
1040
  ---
974
1041
 
975
- ## 3.4.3 (31/12/1969)
1042
+ ## 4.3.1 (31/12/1969)
976
1043
 
977
1044
  #### Enhancements:
978
1045
 
1046
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1047
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1048
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
979
1049
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
980
1050
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
981
1051
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -996,10 +1066,11 @@
996
1066
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
997
1067
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
998
1068
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
999
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
1000
1069
 
1001
1070
  #### Bug Fixes:
1002
1071
 
1072
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1073
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1003
1074
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
1004
1075
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
1005
1076
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1015,14 +1086,16 @@
1015
1086
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
1016
1087
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
1017
1088
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
1018
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
1019
1089
 
1020
1090
  ---
1021
1091
 
1022
- ## 3.3.3 (31/12/1969)
1092
+ ## 3.4.3 (31/12/1969)
1023
1093
 
1024
1094
  #### Enhancements:
1025
1095
 
1096
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1097
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1098
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
1026
1099
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
1027
1100
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
1028
1101
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1043,10 +1116,11 @@
1043
1116
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
1044
1117
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
1045
1118
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1046
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
1047
1119
 
1048
1120
  #### Bug Fixes:
1049
1121
 
1122
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1123
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1050
1124
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
1051
1125
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
1052
1126
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1062,14 +1136,16 @@
1062
1136
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
1063
1137
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
1064
1138
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
1065
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
1066
1139
 
1067
1140
  ---
1068
1141
 
1069
- ## 3.2.0 (31/12/1969)
1142
+ ## 3.3.3 (31/12/1969)
1070
1143
 
1071
1144
  #### Enhancements:
1072
1145
 
1146
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1147
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1148
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
1073
1149
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
1074
1150
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
1075
1151
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1090,10 +1166,11 @@
1090
1166
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
1091
1167
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
1092
1168
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1093
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
1094
1169
 
1095
1170
  #### Bug Fixes:
1096
1171
 
1172
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1173
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1097
1174
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
1098
1175
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
1099
1176
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1109,14 +1186,16 @@
1109
1186
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
1110
1187
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
1111
1188
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
1112
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
1113
1189
 
1114
1190
  ---
1115
1191
 
1116
- ## 3.1.4 (31/12/1969)
1192
+ ## 3.2.0 (31/12/1969)
1117
1193
 
1118
1194
  #### Enhancements:
1119
1195
 
1196
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1197
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1198
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
1120
1199
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
1121
1200
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
1122
1201
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1137,10 +1216,11 @@
1137
1216
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
1138
1217
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
1139
1218
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1140
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
1141
1219
 
1142
1220
  #### Bug Fixes:
1143
1221
 
1222
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1223
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1144
1224
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
1145
1225
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
1146
1226
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1156,14 +1236,16 @@
1156
1236
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
1157
1237
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
1158
1238
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
1159
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
1160
1239
 
1161
1240
  ---
1162
1241
 
1163
- ## 3.1.3 (31/12/1969)
1242
+ ## 3.1.4 (31/12/1969)
1164
1243
 
1165
1244
  #### Enhancements:
1166
1245
 
1246
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1247
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1248
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
1167
1249
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
1168
1250
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
1169
1251
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1184,10 +1266,11 @@
1184
1266
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
1185
1267
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
1186
1268
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1187
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
1188
1269
 
1189
1270
  #### Bug Fixes:
1190
1271
 
1272
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1273
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1191
1274
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
1192
1275
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
1193
1276
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1203,14 +1286,16 @@
1203
1286
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
1204
1287
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
1205
1288
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
1206
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
1207
1289
 
1208
1290
  ---
1209
1291
 
1210
- ## 3.1.2 (31/12/1969)
1292
+ ## 3.1.3 (31/12/1969)
1211
1293
 
1212
1294
  #### Enhancements:
1213
1295
 
1296
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1297
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1298
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
1214
1299
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
1215
1300
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
1216
1301
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1231,10 +1316,11 @@
1231
1316
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
1232
1317
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
1233
1318
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1234
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
1235
1319
 
1236
1320
  #### Bug Fixes:
1237
1321
 
1322
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1323
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1238
1324
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
1239
1325
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
1240
1326
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1250,14 +1336,16 @@
1250
1336
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
1251
1337
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
1252
1338
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
1253
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
1254
1339
 
1255
1340
  ---
1256
1341
 
1257
- ## 3.1.1 (31/12/1969)
1342
+ ## 3.1.2 (31/12/1969)
1258
1343
 
1259
1344
  #### Enhancements:
1260
1345
 
1346
+ - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1347
+ - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1348
+ - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
1261
1349
  - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz)
1262
1350
  - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany)
1263
1351
  - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1278,10 +1366,11 @@
1278
1366
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
1279
1367
  - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
1280
1368
  - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1281
- - FCM Token Listener application [#660](https://github.com/wix/react-native-notifications/pull/660) by [swabbass](https://github.com/swabbass)
1282
1369
 
1283
1370
  #### Bug Fixes:
1284
1371
 
1372
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1373
+ - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1285
1374
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
1286
1375
  - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz)
1287
1376
  - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1297,4 +1386,3 @@
1297
1386
  - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie)
1298
1387
  - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal)
1299
1388
  - [Bugfix][Android] Use JobServiceIntent to fetch the FCM token in the background [#678](https://github.com/wix/react-native-notifications/pull/678) by [Robfz](https://github.com/Robfz)
1300
- - Fix: When app's in background, Android cannot trigger registerNotificationOpened when user press on banner [#614](https://github.com/wix/react-native-notifications/pull/614) by [ttkien](https://github.com/ttkien)
@@ -88,8 +88,10 @@ public class RNNotificationsModule extends ReactContextBaseJavaModule implements
88
88
  return;
89
89
  }
90
90
 
91
- InitialNotificationHolder.getInstance().clear();
92
91
  result = Arguments.fromBundle(notification.asBundle());
92
+ InitialNotificationHolder.getInstance().clear();
93
+ } catch (NullPointerException e) {
94
+ Log.e(LOGTAG, "getInitialNotification: Null pointer exception");
93
95
  } finally {
94
96
  promise.resolve(result);
95
97
  }
@@ -47,7 +47,11 @@ public class ReactAppLifecycleFacade implements AppLifecycleFacade {
47
47
  return false;
48
48
  }
49
49
 
50
- return mReactContext.hasActiveCatalystInstance();
50
+ try {
51
+ return mReactContext.hasActiveCatalystInstance();
52
+ } catch (Exception e) {
53
+ return mReactContext.hasActiveReactInstance();
54
+ }
51
55
  }
52
56
 
53
57
  @Override
@@ -1,6 +1,7 @@
1
1
  #import <React/RCTEventEmitter.h>
2
2
 
3
3
  static NSString* const RNRegistered = @"remoteNotificationsRegistered";
4
+ static NSString* const RNRegistrationDenied = @"remoteNotificationsRegistrationDenied";
4
5
  static NSString* const RNRegistrationFailed = @"remoteNotificationsRegistrationFailed";
5
6
  static NSString* const RNPushKitRegistered = @"pushKitRegistered";
6
7
  static NSString* const RNNotificationReceived = @"notificationReceived";
@@ -6,6 +6,7 @@ RCT_EXPORT_MODULE();
6
6
 
7
7
  -(NSArray<NSString *> *)supportedEvents {
8
8
  return @[RNRegistered,
9
+ RNRegistrationDenied,
9
10
  RNRegistrationFailed,
10
11
  RNPushKitRegistered,
11
12
  RNNotificationReceived,
@@ -1,3 +1,4 @@
1
+ #import "RNEventEmitter.h"
1
2
  #import "RNNotificationCenter.h"
2
3
  #import "RCTConvert+RNNotifications.h"
3
4
 
@@ -40,6 +41,9 @@
40
41
  }
41
42
  }];
42
43
  }
44
+ if (!error && !granted) {
45
+ [RNEventEmitter sendEvent:RNRegistrationDenied body:nil];
46
+ }
43
47
  }];
44
48
  }
45
49
 
@@ -25,13 +25,13 @@ export class NativeEventsReceiver {
25
25
  }
26
26
 
27
27
  public registerNotificationReceived(callback: (notification: Notification) => void): EmitterSubscription {
28
- return this.emitter.addListener('notificationReceived', (payload) => {
28
+ return this.emitter.addListener('notificationReceived', (payload: unknown) => {
29
29
  callback(this.notificationFactory.fromPayload(payload));
30
30
  });
31
31
  }
32
32
 
33
33
  public registerNotificationReceivedBackground(callback: (notification: Notification) => void): EmitterSubscription {
34
- return this.emitter.addListener('notificationReceivedBackground', (payload) => {
34
+ return this.emitter.addListener('notificationReceivedBackground', (payload: unknown) => {
35
35
  callback(this.notificationFactory.fromPayload(payload));
36
36
  });
37
37
  }
@@ -50,4 +50,8 @@ export class NativeEventsReceiver {
50
50
  public registerRemoteNotificationsRegistrationFailed(callback: (event: RegistrationError) => void): EmitterSubscription {
51
51
  return this.emitter.addListener('remoteNotificationsRegistrationFailed', callback);
52
52
  }
53
+
54
+ public registerRemoteNotificationsRegistrationDenied(callback: () => void): EmitterSubscription {
55
+ return this.emitter.addListener('remoteNotificationsRegistrationDenied', callback);
56
+ }
53
57
  }
@@ -34,4 +34,8 @@ export class EventsRegistry {
34
34
  public registerRemoteNotificationsRegistrationFailed(callback: (event: RegistrationError) => void): EmitterSubscription {
35
35
  return this.nativeEventsReceiver.registerRemoteNotificationsRegistrationFailed(callback);
36
36
  }
37
+
38
+ public registerRemoteNotificationsRegistrationDenied(callback: () => void): EmitterSubscription {
39
+ return this.nativeEventsReceiver.registerRemoteNotificationsRegistrationDenied(callback);
40
+ }
37
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imatis/react-native-notifications",
3
- "version": "4.2.4-imatis.21",
3
+ "version": "4.3.1-imatis.22",
4
4
  "description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android",
5
5
  "license": "MIT",
6
6
  "keywords": [