@imatis/react-native-notifications 4.3.1-imatis.24 → 4.3.3-imatis.2

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/.detoxrc.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "testRunner": "jest",
3
+ "runnerConfig": "e2e/config.json",
4
+ "skipLegacyWorkersInjection": true,
5
+ "devices": {
6
+ "simulator": {
7
+ "type": "ios.simulator",
8
+ "device": {
9
+ "type": "iPhone 12 Pro Max"
10
+ }
11
+ }
12
+ },
13
+ "apps": {
14
+ "ios.release": {
15
+ "name": "RNNotifications",
16
+ "type": "ios.app",
17
+ "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Release-iphonesimulator/NotificationsExampleApp.app",
18
+ "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp_release -workspace example/ios/NotificationsExampleApp.xcworkspace -sdk iphonesimulator -configuration Release -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO"
19
+ },
20
+ "ios.debug": {
21
+ "name": "RNNotificationsDebug",
22
+ "type": "ios.app",
23
+ "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Debug-iphonesimulator/NotificationsExampleApp.app",
24
+ "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp -workspace example/ios/NotificationsExampleApp.xcworkspace -sdk iphonesimulator -configuration Debug -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO"
25
+ }
26
+ },
27
+ "configurations": {
28
+ "ios.sim.release": {
29
+ "device": "simulator",
30
+ "app": "ios.release"
31
+ },
32
+ "ios.sim.debug": {
33
+ "device": "simulator",
34
+ "app": "ios.debug"
35
+ }
36
+ }
37
+ }
package/CHANGELOG.gren.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.3.2 (26/10/2022)
4
+
5
+ #### Bug Fixes:
6
+
7
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
8
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
9
+
10
+ ---
11
+
12
+ ## 4.3.1 (24/04/2022)
13
+
14
+ #### Bug Fixes:
15
+
16
+ - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
17
+
18
+ ---
19
+
3
20
  ## 4.3.0 (24/04/2022)
4
21
 
5
22
  #### Enhancements:
@@ -158,11 +175,6 @@
158
175
 
159
176
  ## 3.3.4 (23/09/2020)
160
177
 
161
- #### Enhancements:
162
-
163
- - Bump docusaurus to 2.0.0-alpha.64 [#673](https://github.com/wix/react-native-notifications/pull/673) by [yogevbd](https://github.com/yogevbd)
164
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
165
-
166
178
  #### Bug Fixes:
167
179
 
168
180
  - [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)
@@ -193,6 +205,8 @@
193
205
 
194
206
  #### Enhancements:
195
207
 
208
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
209
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
196
210
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
197
211
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
198
212
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -214,11 +228,11 @@
214
228
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
215
229
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
216
230
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
218
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
219
231
 
220
232
  #### Bug Fixes:
221
233
 
234
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
235
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
222
236
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
223
237
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
224
238
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -239,10 +253,12 @@
239
253
 
240
254
  ---
241
255
 
242
- ## 3.1.1 (31/12/1969)
256
+ ## 3.1.3 (31/12/1969)
243
257
 
244
258
  #### Enhancements:
245
259
 
260
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
261
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
246
262
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
247
263
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
248
264
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -264,11 +280,11 @@
264
280
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
265
281
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
266
282
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
268
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
269
283
 
270
284
  #### Bug Fixes:
271
285
 
286
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
287
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
272
288
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
273
289
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
274
290
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -289,10 +305,12 @@
289
305
 
290
306
  ---
291
307
 
292
- ## 3.1.0 (31/12/1969)
308
+ ## 3.1.2 (31/12/1969)
293
309
 
294
310
  #### Enhancements:
295
311
 
312
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
313
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
296
314
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
297
315
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
298
316
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -314,11 +332,11 @@
314
332
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
315
333
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
316
334
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
318
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
319
335
 
320
336
  #### Bug Fixes:
321
337
 
338
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
339
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
322
340
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
323
341
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
324
342
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -339,10 +357,12 @@
339
357
 
340
358
  ---
341
359
 
342
- ## 3.0.0 (31/12/1969)
360
+ ## 3.1.1 (31/12/1969)
343
361
 
344
362
  #### Enhancements:
345
363
 
364
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
365
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
346
366
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
347
367
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
348
368
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -364,11 +384,11 @@
364
384
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
365
385
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
366
386
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
368
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
369
387
 
370
388
  #### Bug Fixes:
371
389
 
390
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
391
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
372
392
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
373
393
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
374
394
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -389,10 +409,12 @@
389
409
 
390
410
  ---
391
411
 
392
- ## 3.0.0-beta.4 (31/12/1969)
412
+ ## 3.1.0 (31/12/1969)
393
413
 
394
414
  #### Enhancements:
395
415
 
416
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
417
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
396
418
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
397
419
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
398
420
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -414,11 +436,11 @@
414
436
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
415
437
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
416
438
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
418
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
419
439
 
420
440
  #### Bug Fixes:
421
441
 
442
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
443
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
422
444
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
423
445
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
424
446
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -439,10 +461,12 @@
439
461
 
440
462
  ---
441
463
 
442
- ## 3.0.0-beta.3 (31/12/1969)
464
+ ## 3.0.0 (31/12/1969)
443
465
 
444
466
  #### Enhancements:
445
467
 
468
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
469
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
446
470
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
447
471
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
448
472
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -464,11 +488,11 @@
464
488
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
465
489
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
466
490
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
468
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
469
491
 
470
492
  #### Bug Fixes:
471
493
 
494
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
495
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
472
496
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
473
497
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
474
498
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -489,10 +513,12 @@
489
513
 
490
514
  ---
491
515
 
492
- ## 3.0.0-beta.2 (31/12/1969)
516
+ ## 3.0.0-beta.4 (31/12/1969)
493
517
 
494
518
  #### Enhancements:
495
519
 
520
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
521
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
496
522
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
497
523
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
498
524
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -514,11 +540,11 @@
514
540
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
515
541
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
516
542
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
518
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
519
543
 
520
544
  #### Bug Fixes:
521
545
 
546
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
547
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
522
548
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
523
549
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
524
550
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -539,10 +565,12 @@
539
565
 
540
566
  ---
541
567
 
542
- ## 3.0.0-beta.1 (31/12/1969)
568
+ ## 3.0.0-beta.3 (31/12/1969)
543
569
 
544
570
  #### Enhancements:
545
571
 
572
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
573
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
546
574
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
547
575
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
548
576
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -564,11 +592,11 @@
564
592
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
565
593
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
566
594
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
568
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
569
595
 
570
596
  #### Bug Fixes:
571
597
 
598
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
599
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
572
600
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
573
601
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
574
602
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -589,10 +617,12 @@
589
617
 
590
618
  ---
591
619
 
592
- ## 3.0.0-beta.0 (31/12/1969)
620
+ ## 3.0.0-beta.2 (31/12/1969)
593
621
 
594
622
  #### Enhancements:
595
623
 
624
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
625
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
596
626
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
597
627
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
598
628
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -614,11 +644,11 @@
614
644
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
615
645
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
616
646
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
618
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
619
647
 
620
648
  #### Bug Fixes:
621
649
 
650
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
651
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
622
652
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
623
653
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
624
654
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -639,10 +669,12 @@
639
669
 
640
670
  ---
641
671
 
642
- ## 3.0.0-alpha.0 (31/12/1969)
672
+ ## 3.0.0-beta.1 (31/12/1969)
643
673
 
644
674
  #### Enhancements:
645
675
 
676
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
677
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
646
678
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
647
679
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
648
680
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -664,11 +696,11 @@
664
696
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
665
697
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
666
698
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
668
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
669
699
 
670
700
  #### Bug Fixes:
671
701
 
702
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
703
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
672
704
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
673
705
  - 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
706
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -689,10 +721,12 @@
689
721
 
690
722
  ---
691
723
 
692
- ## 2.1.7 (31/12/1969)
724
+ ## 3.0.0-beta.0 (31/12/1969)
693
725
 
694
726
  #### Enhancements:
695
727
 
728
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
729
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
696
730
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
697
731
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
698
732
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -714,11 +748,11 @@
714
748
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
715
749
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
716
750
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
718
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
719
751
 
720
752
  #### Bug Fixes:
721
753
 
754
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
755
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
722
756
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
723
757
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
724
758
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -739,10 +773,12 @@
739
773
 
740
774
  ---
741
775
 
742
- ## 2.1.6 (31/12/1969)
776
+ ## 3.0.0-alpha.0 (31/12/1969)
743
777
 
744
778
  #### Enhancements:
745
779
 
780
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
781
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
746
782
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
747
783
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
748
784
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -764,11 +800,11 @@
764
800
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
765
801
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
766
802
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
768
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
769
803
 
770
804
  #### Bug Fixes:
771
805
 
806
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
807
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
772
808
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
773
809
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
774
810
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -789,10 +825,12 @@
789
825
 
790
826
  ---
791
827
 
792
- ## 2.1.5 (31/12/1969)
828
+ ## 2.1.7 (31/12/1969)
793
829
 
794
830
  #### Enhancements:
795
831
 
832
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
833
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
796
834
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
797
835
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
798
836
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -814,11 +852,11 @@
814
852
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
815
853
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
816
854
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
818
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
819
855
 
820
856
  #### Bug Fixes:
821
857
 
858
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
859
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
822
860
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
823
861
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
824
862
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -839,10 +877,12 @@
839
877
 
840
878
  ---
841
879
 
842
- ## 2.1.4 (31/12/1969)
880
+ ## 2.1.6 (31/12/1969)
843
881
 
844
882
  #### Enhancements:
845
883
 
884
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
885
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
846
886
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
847
887
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
848
888
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -864,11 +904,11 @@
864
904
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
865
905
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
866
906
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
868
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
869
907
 
870
908
  #### Bug Fixes:
871
909
 
910
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
911
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
872
912
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
873
913
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
874
914
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -889,10 +929,12 @@
889
929
 
890
930
  ---
891
931
 
892
- ## 2.1.4-beta.0 (31/12/1969)
932
+ ## 2.1.5 (31/12/1969)
893
933
 
894
934
  #### Enhancements:
895
935
 
936
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
937
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
896
938
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
897
939
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
898
940
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -914,11 +956,11 @@
914
956
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
915
957
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
916
958
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
918
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
919
959
 
920
960
  #### Bug Fixes:
921
961
 
962
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
963
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
922
964
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
923
965
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
924
966
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -939,10 +981,12 @@
939
981
 
940
982
  ---
941
983
 
942
- ## 2.1.3 (31/12/1969)
984
+ ## 2.1.4 (31/12/1969)
943
985
 
944
986
  #### Enhancements:
945
987
 
988
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
989
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
946
990
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
947
991
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
948
992
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -964,11 +1008,11 @@
964
1008
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
965
1009
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
966
1010
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
968
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
969
1011
 
970
1012
  #### Bug Fixes:
971
1013
 
1014
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1015
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
972
1016
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
973
1017
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
974
1018
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -989,10 +1033,12 @@
989
1033
 
990
1034
  ---
991
1035
 
992
- ## 2.1.0 (31/12/1969)
1036
+ ## 2.1.4-beta.0 (31/12/1969)
993
1037
 
994
1038
  #### Enhancements:
995
1039
 
1040
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
1041
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
996
1042
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
997
1043
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
998
1044
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1014,11 +1060,11 @@
1014
1060
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
1015
1061
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
1016
1062
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
1018
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1019
1063
 
1020
1064
  #### Bug Fixes:
1021
1065
 
1066
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1067
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
1022
1068
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1023
1069
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1024
1070
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1039,10 +1085,12 @@
1039
1085
 
1040
1086
  ---
1041
1087
 
1042
- ## 4.3.1 (31/12/1969)
1088
+ ## 2.1.3 (31/12/1969)
1043
1089
 
1044
1090
  #### Enhancements:
1045
1091
 
1092
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
1093
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
1046
1094
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1047
1095
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1048
1096
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1064,11 +1112,11 @@
1064
1112
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
1065
1113
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
1066
1114
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
1068
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1069
1115
 
1070
1116
  #### Bug Fixes:
1071
1117
 
1118
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1119
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
1072
1120
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1073
1121
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1074
1122
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1089,10 +1137,12 @@
1089
1137
 
1090
1138
  ---
1091
1139
 
1092
- ## 3.4.3 (31/12/1969)
1140
+ ## 2.1.0 (31/12/1969)
1093
1141
 
1094
1142
  #### Enhancements:
1095
1143
 
1144
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
1145
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
1096
1146
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1097
1147
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1098
1148
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1114,11 +1164,11 @@
1114
1164
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
1115
1165
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
1116
1166
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
1118
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1119
1167
 
1120
1168
  #### Bug Fixes:
1121
1169
 
1170
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1171
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
1122
1172
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1123
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)
1124
1174
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1139,10 +1189,12 @@
1139
1189
 
1140
1190
  ---
1141
1191
 
1142
- ## 3.3.3 (31/12/1969)
1192
+ ## 4.3.3 (31/12/1969)
1143
1193
 
1144
1194
  #### Enhancements:
1145
1195
 
1196
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
1197
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
1146
1198
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1147
1199
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1148
1200
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1164,11 +1216,11 @@
1164
1216
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
1165
1217
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
1166
1218
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
1168
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1169
1219
 
1170
1220
  #### Bug Fixes:
1171
1221
 
1222
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1223
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
1172
1224
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1173
1225
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1174
1226
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1189,10 +1241,12 @@
1189
1241
 
1190
1242
  ---
1191
1243
 
1192
- ## 3.2.0 (31/12/1969)
1244
+ ## 3.4.3 (31/12/1969)
1193
1245
 
1194
1246
  #### Enhancements:
1195
1247
 
1248
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
1249
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
1196
1250
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1197
1251
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1198
1252
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1214,11 +1268,11 @@
1214
1268
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
1215
1269
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
1216
1270
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
1218
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1219
1271
 
1220
1272
  #### Bug Fixes:
1221
1273
 
1274
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1275
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
1222
1276
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1223
1277
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1224
1278
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1239,10 +1293,12 @@
1239
1293
 
1240
1294
  ---
1241
1295
 
1242
- ## 3.1.4 (31/12/1969)
1296
+ ## 3.3.3 (31/12/1969)
1243
1297
 
1244
1298
  #### Enhancements:
1245
1299
 
1300
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
1301
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
1246
1302
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1247
1303
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1248
1304
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1264,11 +1320,11 @@
1264
1320
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
1265
1321
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
1266
1322
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
1268
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1269
1323
 
1270
1324
  #### Bug Fixes:
1271
1325
 
1326
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1327
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
1272
1328
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1273
1329
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1274
1330
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1289,10 +1345,12 @@
1289
1345
 
1290
1346
  ---
1291
1347
 
1292
- ## 3.1.3 (31/12/1969)
1348
+ ## 3.2.0 (31/12/1969)
1293
1349
 
1294
1350
  #### Enhancements:
1295
1351
 
1352
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
1353
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
1296
1354
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1297
1355
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1298
1356
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1314,11 +1372,11 @@
1314
1372
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
1315
1373
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
1316
1374
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
1318
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1319
1375
 
1320
1376
  #### Bug Fixes:
1321
1377
 
1378
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1379
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
1322
1380
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1323
1381
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1324
1382
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1339,10 +1397,12 @@
1339
1397
 
1340
1398
  ---
1341
1399
 
1342
- ## 3.1.2 (31/12/1969)
1400
+ ## 3.1.4 (31/12/1969)
1343
1401
 
1344
1402
  #### Enhancements:
1345
1403
 
1404
+ - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz)
1405
+ - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz)
1346
1406
  - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame)
1347
1407
  - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci)
1348
1408
  - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -1364,11 +1424,11 @@
1364
1424
  - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz)
1365
1425
  - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd)
1366
1426
  - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd)
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)
1368
- - Bump detox to v17.5.7 [#676](https://github.com/wix/react-native-notifications/pull/676) by [yogevbd](https://github.com/yogevbd)
1369
1427
 
1370
1428
  #### Bug Fixes:
1371
1429
 
1430
+ - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz)
1431
+ - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz)
1372
1432
  - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz)
1373
1433
  - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz)
1374
1434
  - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz)
@@ -17,7 +17,6 @@ import com.wix.reactnativenotifications.core.InitialNotificationHolder;
17
17
  import com.wix.reactnativenotifications.core.NotificationIntentAdapter;
18
18
  import com.wix.reactnativenotifications.core.notification.IPushNotification;
19
19
  import com.wix.reactnativenotifications.core.notification.PushNotification;
20
- import com.wix.reactnativenotifications.core.notification.PushNotificationProps;
21
20
  import com.wix.reactnativenotifications.core.notificationdrawer.IPushNotificationsDrawer;
22
21
  import com.wix.reactnativenotifications.core.notificationdrawer.PushNotificationsDrawer;
23
22
 
@@ -96,8 +95,8 @@ public class RNNotificationsPackage implements ReactPackage, AppLifecycleFacade.
96
95
  Intent intent = activity.getIntent();
97
96
  if (NotificationIntentAdapter.canHandleIntent(intent)) {
98
97
  Context appContext = mApplication.getApplicationContext();
99
- Bundle notificationData = NotificationIntentAdapter.cannotHandleTrampolineActivity(appContext) ?
100
- NotificationIntentAdapter.extractPendingNotificationDataFromIntent(intent) : intent.getExtras();
98
+ Bundle notificationData = NotificationIntentAdapter.canHandleTrampolineActivity(appContext) ?
99
+ intent.getExtras() : NotificationIntentAdapter.extractPendingNotificationDataFromIntent(intent);
101
100
  final IPushNotification pushNotification = PushNotification.get(appContext, notificationData);
102
101
  if (pushNotification != null) {
103
102
  pushNotification.onOpened();
@@ -17,6 +17,10 @@ public class JsIOHelper {
17
17
  }
18
18
 
19
19
  public boolean sendEventToJS(String eventName, WritableMap data, ReactContext reactContext) {
20
+ if(!reactContext.hasActiveCatalystInstance()) {
21
+ return false;
22
+ }
23
+
20
24
  if (reactContext != null) {
21
25
  reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(eventName, data);
22
26
  return true;
@@ -14,21 +14,21 @@ public class NotificationIntentAdapter {
14
14
 
15
15
  @SuppressLint("UnspecifiedImmutableFlag")
16
16
  public static PendingIntent createPendingNotificationIntent(Context appContext, PushNotificationProps notification) {
17
- if (cannotHandleTrampolineActivity(appContext)) {
17
+ if (canHandleTrampolineActivity(appContext)) {
18
+ Intent intent = new Intent(appContext, ProxyService.class);
19
+ intent.putExtra(PUSH_NOTIFICATION_EXTRA_NAME, notification.asBundle());
20
+ return PendingIntent.getService(appContext, (int) System.currentTimeMillis(), intent, PendingIntent.FLAG_ONE_SHOT);
21
+ } else {
18
22
  Intent mainActivityIntent = appContext.getPackageManager().getLaunchIntentForPackage(appContext.getPackageName());
19
23
  mainActivityIntent.putExtra(PUSH_NOTIFICATION_EXTRA_NAME, notification.asBundle());
20
24
  TaskStackBuilder taskStackBuilder = TaskStackBuilder.create(appContext);
21
25
  taskStackBuilder.addNextIntentWithParentStack(mainActivityIntent);
22
26
  return taskStackBuilder.getPendingIntent((int) System.currentTimeMillis(), PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
23
- } else {
24
- Intent intent = new Intent(appContext, ProxyService.class);
25
- intent.putExtra(PUSH_NOTIFICATION_EXTRA_NAME, notification.asBundle());
26
- return PendingIntent.getService(appContext, (int) System.currentTimeMillis(), intent, PendingIntent.FLAG_ONE_SHOT);
27
27
  }
28
28
  }
29
29
 
30
- public static boolean cannotHandleTrampolineActivity(Context appContext) {
31
- return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.R && appContext.getApplicationInfo().targetSdkVersion >= 31;
30
+ public static boolean canHandleTrampolineActivity(Context appContext) {
31
+ return android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.R || appContext.getApplicationInfo().targetSdkVersion < 31;
32
32
  }
33
33
 
34
34
  public static Bundle extractPendingNotificationDataFromIntent(Intent intent) {
@@ -248,7 +248,7 @@ public class PushNotification implements IPushNotification {
248
248
 
249
249
  private void setUpIconColor(Notification.Builder notification) {
250
250
  int colorResID = getAppResourceId("colorAccent", "color");
251
- if (colorResID != 0 && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
251
+ if (colorResID != 0) {
252
252
  int color = mContext.getResources().getColor(colorResID);
253
253
  notification.setColor(color);
254
254
  }
@@ -285,7 +285,7 @@ public class PushNotification implements IPushNotification {
285
285
  }
286
286
 
287
287
  protected void launchOrResumeApp() {
288
- if (!NotificationIntentAdapter.cannotHandleTrampolineActivity(mContext)) {
288
+ if (NotificationIntentAdapter.canHandleTrampolineActivity(mContext)) {
289
289
  final Intent intent = mAppLaunchHelper.getLaunchIntent(mContext);
290
290
  mContext.startActivity(intent);
291
291
  }
@@ -6,7 +6,7 @@ import { NotificationFactory } from '../DTO/NotificationFactory';
6
6
  export declare class NativeEventsReceiver {
7
7
  private readonly notificationFactory;
8
8
  private emitter;
9
- constructor(notificationFactory: NotificationFactory);
9
+ constructor(notificationFactory?: NotificationFactory);
10
10
  registerRemoteNotificationsRegistered(callback: (event: Registered) => void): EmitterSubscription;
11
11
  appNotificationSettingsLinked(callback: () => void): EmitterSubscription;
12
12
  registerPushKitRegistered(callback: (event: RegisteredPushKit) => void): EmitterSubscription;
@@ -3,8 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NativeEventsReceiver = void 0;
4
4
  const react_native_1 = require("react-native");
5
5
  const NotificationActionResponse_1 = require("../interfaces/NotificationActionResponse");
6
+ const NotificationFactory_1 = require("../DTO/NotificationFactory");
6
7
  class NativeEventsReceiver {
7
- constructor(notificationFactory) {
8
+ constructor(notificationFactory = new NotificationFactory_1.NotificationFactory()) {
8
9
  this.notificationFactory = notificationFactory;
9
10
  this.emitter = new react_native_1.NativeEventEmitter(react_native_1.NativeModules.RNEventEmitter);
10
11
  }
@@ -1,16 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const EventsRegistry_1 = require("./EventsRegistry");
4
- const NativeEventsReceiver_mock_1 = require("../adapters/NativeEventsReceiver.mock");
3
+ const react_native_1 = require("react-native");
5
4
  const Notification_1 = require("../DTO/Notification");
6
5
  const CompletionCallbackWrapper_1 = require("../adapters/CompletionCallbackWrapper");
7
- const NativeCommandsSender_mock_1 = require("../adapters/NativeCommandsSender.mock");
8
- const react_native_1 = require("react-native");
6
+ const NativeCommandsSender_1 = require("../adapters/NativeCommandsSender");
7
+ const NativeEventsReceiver_1 = require("../adapters/NativeEventsReceiver");
9
8
  const NotificationCompletion_1 = require("../interfaces/NotificationCompletion");
9
+ const EventsRegistry_1 = require("./EventsRegistry");
10
+ jest.mock('../adapters/NativeCommandsSender');
11
+ jest.mock('../adapters/NativeEventsReceiver');
10
12
  describe('EventsRegistry', () => {
11
13
  let uut;
12
- const mockNativeEventsReceiver = new NativeEventsReceiver_mock_1.NativeEventsReceiver();
13
- const mockNativeCommandsSender = new NativeCommandsSender_mock_1.NativeCommandsSender();
14
+ const mockNativeEventsReceiver = new NativeEventsReceiver_1.NativeEventsReceiver();
15
+ const mockNativeCommandsSender = new NativeCommandsSender_1.NativeCommandsSender();
14
16
  const completionCallbackWrapper = new CompletionCallbackWrapper_1.CompletionCallbackWrapper(mockNativeCommandsSender);
15
17
  beforeEach(() => {
16
18
  uut = new EventsRegistry_1.EventsRegistry(mockNativeEventsReceiver, completionCallbackWrapper);
@@ -138,12 +140,11 @@ describe('EventsRegistry', () => {
138
140
  });
139
141
  it('should wrap callback with completion block', () => {
140
142
  const notification = new Notification_1.Notification({ identifier: 'identifier' });
141
- const expectedResponse = { notification, identifier: 'responseId' };
142
143
  uut.registerNotificationOpened((response) => {
143
- expect(response).toEqual(expectedResponse);
144
+ expect(response).toEqual(notification);
144
145
  });
145
146
  const call = mockNativeEventsReceiver.registerNotificationOpened.mock.calls[0][0];
146
- call(expectedResponse);
147
+ call(notification);
147
148
  });
148
149
  it('calling completion should invoke finishHandlingAction', () => {
149
150
  const expectedNotification = new Notification_1.Notification({ identifier: 'notificationId' });
@@ -2,12 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const EventsRegistryIOS_1 = require("./EventsRegistryIOS");
4
4
  const CompletionCallbackWrapper_1 = require("../adapters/CompletionCallbackWrapper");
5
- const NativeCommandsSender_mock_1 = require("../adapters/NativeCommandsSender.mock");
6
- const NativeEventsReceiver_mock_1 = require("../adapters/NativeEventsReceiver.mock");
5
+ const NativeCommandsSender_1 = require("../adapters/NativeCommandsSender");
6
+ const NativeEventsReceiver_1 = require("../adapters/NativeEventsReceiver");
7
+ jest.mock('../adapters/NativeCommandsSender');
8
+ jest.mock('../adapters/NativeEventsReceiver');
7
9
  describe('EventsRegistryIOS', () => {
8
10
  let uut;
9
- const mockNativeEventsReceiver = new NativeEventsReceiver_mock_1.NativeEventsReceiver();
10
- const mockNativeCommandsSender = new NativeCommandsSender_mock_1.NativeCommandsSender();
11
+ const mockNativeEventsReceiver = new NativeEventsReceiver_1.NativeEventsReceiver();
12
+ const mockNativeCommandsSender = new NativeCommandsSender_1.NativeCommandsSender();
11
13
  const completionCallbackWrapper = new CompletionCallbackWrapper_1.CompletionCallbackWrapper(mockNativeCommandsSender);
12
14
  beforeEach(() => {
13
15
  uut = new EventsRegistryIOS_1.EventsRegistryIOS(mockNativeEventsReceiver, completionCallbackWrapper);
@@ -8,7 +8,7 @@ import { NotificationFactory } from '../DTO/NotificationFactory';
8
8
 
9
9
  export class NativeEventsReceiver {
10
10
  private emitter: EventEmitter;
11
- constructor(private readonly notificationFactory: NotificationFactory) {
11
+ constructor(private readonly notificationFactory: NotificationFactory = new NotificationFactory()) {
12
12
  this.emitter = new NativeEventEmitter(NativeModules.RNEventEmitter);
13
13
  }
14
14
 
@@ -1,16 +1,19 @@
1
- import { EventsRegistry } from './EventsRegistry';
2
- import { NativeEventsReceiver } from '../adapters/NativeEventsReceiver.mock';
1
+ import { Platform, AppState } from 'react-native';
3
2
  import { Notification } from '../DTO/Notification';
4
3
  import { CompletionCallbackWrapper } from '../adapters/CompletionCallbackWrapper';
5
- import { NativeCommandsSender } from '../adapters/NativeCommandsSender.mock';
4
+ import { NativeCommandsSender } from '../adapters/NativeCommandsSender';
5
+ import { NativeEventsReceiver } from '../adapters/NativeEventsReceiver';
6
6
  import { NotificationResponse } from '../interfaces/NotificationEvents';
7
- import { Platform, AppState } from 'react-native';
8
7
  import { NotificationCompletion, NotificationBackgroundFetchResult } from '../interfaces/NotificationCompletion';
8
+ import { EventsRegistry } from './EventsRegistry';
9
+
10
+ jest.mock('../adapters/NativeCommandsSender')
11
+ jest.mock('../adapters/NativeEventsReceiver')
9
12
 
10
13
  describe('EventsRegistry', () => {
11
14
  let uut: EventsRegistry;
12
- const mockNativeEventsReceiver = new NativeEventsReceiver();
13
- const mockNativeCommandsSender = new NativeCommandsSender();
15
+ const mockNativeEventsReceiver = new NativeEventsReceiver() as jest.Mocked<NativeEventsReceiver>;
16
+ const mockNativeCommandsSender = new NativeCommandsSender() as jest.Mocked<NativeCommandsSender>;
14
17
  const completionCallbackWrapper = new CompletionCallbackWrapper(mockNativeCommandsSender);
15
18
 
16
19
  beforeEach(() => {
@@ -174,13 +177,12 @@ describe('EventsRegistry', () => {
174
177
 
175
178
  it('should wrap callback with completion block', () => {
176
179
  const notification: Notification = new Notification({identifier: 'identifier'});
177
- const expectedResponse: NotificationResponse = {notification, identifier: 'responseId'}
178
180
 
179
181
  uut.registerNotificationOpened((response) => {
180
- expect(response).toEqual(expectedResponse);
182
+ expect(response).toEqual(notification);
181
183
  });
182
184
  const call = mockNativeEventsReceiver.registerNotificationOpened.mock.calls[0][0];
183
- call(expectedResponse);
185
+ call(notification);
184
186
  });
185
187
 
186
188
  it('calling completion should invoke finishHandlingAction', () => {
@@ -1,12 +1,15 @@
1
1
  import { EventsRegistryIOS } from './EventsRegistryIOS';
2
2
  import { CompletionCallbackWrapper } from '../adapters/CompletionCallbackWrapper';
3
- import { NativeCommandsSender } from '../adapters/NativeCommandsSender.mock';
4
- import { NativeEventsReceiver } from '../adapters/NativeEventsReceiver.mock';
3
+ import { NativeCommandsSender } from '../adapters/NativeCommandsSender';
4
+ import { NativeEventsReceiver } from '../adapters/NativeEventsReceiver';
5
+
6
+ jest.mock('../adapters/NativeCommandsSender')
7
+ jest.mock('../adapters/NativeEventsReceiver')
5
8
 
6
9
  describe('EventsRegistryIOS', () => {
7
10
  let uut: EventsRegistryIOS;
8
- const mockNativeEventsReceiver = new NativeEventsReceiver();
9
- const mockNativeCommandsSender = new NativeCommandsSender();
11
+ const mockNativeEventsReceiver = new NativeEventsReceiver() as jest.Mocked<NativeEventsReceiver>;
12
+ const mockNativeCommandsSender = new NativeCommandsSender() as jest.Mocked<NativeCommandsSender>;
10
13
  const completionCallbackWrapper = new CompletionCallbackWrapper(mockNativeCommandsSender);
11
14
 
12
15
  beforeEach(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imatis/react-native-notifications",
3
- "version": "4.3.1-imatis.24",
3
+ "version": "4.3.3-imatis.2",
4
4
  "description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -51,24 +51,25 @@
51
51
  "devDependencies": {
52
52
  "@babel/plugin-proposal-export-default-from": "7.2.0",
53
53
  "@babel/plugin-proposal-export-namespace-from": "7.2.0",
54
- "@types/jest": "24.9.0",
55
- "@types/lodash": "4.14.170",
56
- "@types/react": "16.9.35",
57
- "@types/react-native": "0.67.1",
54
+ "@types/jest": "^27.0.0",
55
+ "@types/lodash": "4.14.182",
56
+ "@types/react": "^17.0.0",
57
+ "@types/react-native": "0.67.6",
58
58
  "@types/react-test-renderer": "16.9.2",
59
59
  "babel-eslint": "10.0.3",
60
60
  "detox": "^19.4.2",
61
61
  "github-release-notes": "https://github.com/yogevbd/github-release-notes/tarball/e601b3dba72dcd6cba323c1286ea6dd0c0110b58",
62
- "jest": "24.9.0",
62
+ "jest": "^27.0.0",
63
63
  "lodash": "4.17.21",
64
- "metro-react-native-babel-preset": "0.66.2",
65
- "react": "17.0.2",
64
+ "metro-babel-register": "^0.73.2",
65
+ "metro-react-native-babel-preset": "^0.67.0",
66
+ "react": "^17.0.0",
66
67
  "react-autobind": "1.0.6",
67
- "react-native": "0.67.3",
68
+ "react-native": "^0.68.1",
68
69
  "shell-utils": "1.0.10",
69
70
  "ts-mockito": "2.5.0",
70
- "tslint": "6.1.2",
71
- "typescript": "^3.7.5"
71
+ "tslint": "6.1.3",
72
+ "typescript": "^4.0.0"
72
73
  },
73
74
  "publishConfig": {
74
75
  "registry": "https://registry.npmjs.org/"
@@ -81,24 +82,6 @@
81
82
  "bugs": {
82
83
  "url": "https://github.com/wix/react-native-notifications/issues"
83
84
  },
84
- "detox": {
85
- "test-runner": "jest",
86
- "specs": "",
87
- "configurations": {
88
- "ios.sim.debug": {
89
- "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Debug-iphonesimulator/NotificationsExampleApp.app",
90
- "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp -workspace example/ios/NotificationsExampleApp.xcworkspace -sdk iphonesimulator -configuration Debug -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
91
- "type": "ios.simulator",
92
- "name": "iPhone 11"
93
- },
94
- "ios.sim.release": {
95
- "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Release-iphonesimulator/NotificationsExampleApp.app",
96
- "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp_release -workspace example/ios/NotificationsExampleApp.xcworkspace -sdk iphonesimulator -configuration Release -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
97
- "type": "ios.simulator",
98
- "name": "iPhone 11"
99
- }
100
- }
101
- },
102
85
  "jest": {
103
86
  "preset": "react-native",
104
87
  "transform": {
@@ -1 +0,0 @@
1
- export declare const NativeCommandsSender: any;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NativeCommandsSender = void 0;
4
- exports.NativeCommandsSender = jest.genMockFromModule('./NativeCommandsSender').NativeCommandsSender;
@@ -1 +0,0 @@
1
- export declare const NativeEventsReceiver: any;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NativeEventsReceiver = void 0;
4
- exports.NativeEventsReceiver = jest.genMockFromModule('./NativeEventsReceiver').NativeEventsReceiver;
@@ -1 +0,0 @@
1
- export const { NativeCommandsSender } = jest.genMockFromModule('./NativeCommandsSender');
@@ -1 +0,0 @@
1
- export const { NativeEventsReceiver } = jest.genMockFromModule('./NativeEventsReceiver');