UNPKG

@imatis/react-native-notifications

Version:

Advanced Push Notifications (Silent, interactive notifications) for iOS & Android

536 lines (407 loc) 167 kB
# Changelog ## 4.3.2 (26/10/2022) #### Bug Fixes: - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz) - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.3.1 (24/04/2022) #### Bug Fixes: - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.3.0 (24/04/2022) #### Enhancements: - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame) - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci) - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz) #### Bug Fixes: - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.2.4 (09/03/2022) #### Enhancements: - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.2.3 (02/03/2022) #### Bug Fixes: - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.2.2 (26/02/2022) #### Bug Fixes: - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.2.1 (16/02/2022) #### Enhancements: - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany) #### Bug Fixes: - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.2.0 (15/02/2022) #### Enhancements: - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz) - back to index js [#814](https://github.com/wix/react-native-notifications/pull/814) by [DanielEliraz](https://github.com/DanielEliraz) - Fix Android API 31 issues and Convert example to TS [#812](https://github.com/wix/react-native-notifications/pull/812) by [DanielEliraz](https://github.com/DanielEliraz) - update start guide [#800](https://github.com/wix/react-native-notifications/pull/800) by [weihangChen](https://github.com/weihangChen) - upgrade to react-native@66.3 [#805](https://github.com/wix/react-native-notifications/pull/805) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.1.3 (13/12/2021) #### Bug Fixes: - fix enfroce label [#795](https://github.com/wix/react-native-notifications/pull/795) by [DanielEliraz](https://github.com/DanielEliraz) - fix: Add missing `android:exported` to `service` [#790](https://github.com/wix/react-native-notifications/pull/790) by [mrousavy](https://github.com/mrousavy) --- ## 4.1.2 (02/08/2021) #### Enhancements: - FEAT: ios add permissions to check permissions [#762](https://github.com/wix/react-native-notifications/pull/762) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.1.1 (21/07/2021) #### Enhancements: - resiter remote on provisional approve [#759](https://github.com/wix/react-native-notifications/pull/759) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.1.0 (14/07/2021) #### Enhancements: - expose provisional state [#756](https://github.com/wix/react-native-notifications/pull/756) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 4.0.0 (12/07/2021) #### Enhancements: - Add ability to request/check more iOS permissions [#752](https://github.com/wix/react-native-notifications/pull/752) by [DanielEliraz](https://github.com/DanielEliraz) - stop using deprecated firebase iid [#751](https://github.com/wix/react-native-notifications/pull/751) by [DanielEliraz](https://github.com/DanielEliraz) - upgrade lodash to 4.17.21 [#747](https://github.com/wix/react-native-notifications/pull/747) by [DanielEliraz](https://github.com/DanielEliraz) #### Bug Fixes: - fix ts cancelLocalNotification prop [#754](https://github.com/wix/react-native-notifications/pull/754) by [DanielEliraz](https://github.com/DanielEliraz) - Fix channel and channel group implementation [#750](https://github.com/wix/react-native-notifications/pull/750) by [DanielEliraz](https://github.com/DanielEliraz) - finish run completion handler in main thread [#748](https://github.com/wix/react-native-notifications/pull/748) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 3.5.0 (14/06/2021) #### Enhancements: - Provisional option in iOS registeration [#744](https://github.com/wix/react-native-notifications/pull/744) by [DanielEliraz](https://github.com/DanielEliraz) - return to ios.registerRemoteNotifications name [#742](https://github.com/wix/react-native-notifications/pull/742) by [DanielEliraz](https://github.com/DanielEliraz) - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz) --- ## 3.4.2 (27/12/2020) #### Bug Fixes: - Make notification id optional fixes #703 [#709](https://github.com/wix/react-native-notifications/pull/709) by [antontanderup](https://github.com/antontanderup) --- ## 3.4.1 (23/11/2020) #### Enhancements: - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd) #### Bug Fixes: - Fix boolean type when converting to js [#702](https://github.com/wix/react-native-notifications/pull/702) by [xilin](https://github.com/xilin) - [BugFix][iOS] Cleaning up initial notification after resolve [#697](https://github.com/wix/react-native-notifications/pull/697) by [muryj](https://github.com/muryj) --- ## 3.4.0 (28/10/2020) #### Enhancements: - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd) #### Bug Fixes: - notifyReceivedToJS only when app is visible [#694](https://github.com/wix/react-native-notifications/pull/694) by [swabbass](https://github.com/swabbass) - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie) - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal) --- ## 3.3.4 (23/09/2020) #### Bug Fixes: - [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) --- ## 3.3.2 (06/08/2020) *No changelog for this release.* --- ## 3.3.1 (05/08/2020) *No changelog for this release.* --- ## 3.3.0 (23/07/2020) *No changelog for this release.* --- ## 3.2.2 (23/05/2020) *No changelog for this release.* --- ## 3.2.1 (13/05/2020) #### Enhancements: - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz) - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz) - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame) - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci) - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz) - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz) - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany) - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz) - back to index js [#814](https://github.com/wix/react-native-notifications/pull/814) by [DanielEliraz](https://github.com/DanielEliraz) - Fix Android API 31 issues and Convert example to TS [#812](https://github.com/wix/react-native-notifications/pull/812) by [DanielEliraz](https://github.com/DanielEliraz) - update start guide [#800](https://github.com/wix/react-native-notifications/pull/800) by [weihangChen](https://github.com/weihangChen) - upgrade to react-native@66.3 [#805](https://github.com/wix/react-native-notifications/pull/805) by [DanielEliraz](https://github.com/DanielEliraz) - FEAT: ios add permissions to check permissions [#762](https://github.com/wix/react-native-notifications/pull/762) by [DanielEliraz](https://github.com/DanielEliraz) - resiter remote on provisional approve [#759](https://github.com/wix/react-native-notifications/pull/759) by [DanielEliraz](https://github.com/DanielEliraz) - expose provisional state [#756](https://github.com/wix/react-native-notifications/pull/756) by [DanielEliraz](https://github.com/DanielEliraz) - Add ability to request/check more iOS permissions [#752](https://github.com/wix/react-native-notifications/pull/752) by [DanielEliraz](https://github.com/DanielEliraz) - stop using deprecated firebase iid [#751](https://github.com/wix/react-native-notifications/pull/751) by [DanielEliraz](https://github.com/DanielEliraz) - upgrade lodash to 4.17.21 [#747](https://github.com/wix/react-native-notifications/pull/747) by [DanielEliraz](https://github.com/DanielEliraz) - Provisional option in iOS registeration [#744](https://github.com/wix/react-native-notifications/pull/744) by [DanielEliraz](https://github.com/DanielEliraz) - return to ios.registerRemoteNotifications name [#742](https://github.com/wix/react-native-notifications/pull/742) by [DanielEliraz](https://github.com/DanielEliraz) - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz) - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd) - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd) #### Bug Fixes: - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz) - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz) - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz) - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz) - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz) - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz) - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz) - notifyReceivedToJS only when app is visible [#694](https://github.com/wix/react-native-notifications/pull/694) by [swabbass](https://github.com/swabbass) - fix enfroce label [#795](https://github.com/wix/react-native-notifications/pull/795) by [DanielEliraz](https://github.com/DanielEliraz) - fix: Add missing `android:exported` to `service` [#790](https://github.com/wix/react-native-notifications/pull/790) by [mrousavy](https://github.com/mrousavy) - fix ts cancelLocalNotification prop [#754](https://github.com/wix/react-native-notifications/pull/754) by [DanielEliraz](https://github.com/DanielEliraz) - Fix channel and channel group implementation [#750](https://github.com/wix/react-native-notifications/pull/750) by [DanielEliraz](https://github.com/DanielEliraz) - finish run completion handler in main thread [#748](https://github.com/wix/react-native-notifications/pull/748) by [DanielEliraz](https://github.com/DanielEliraz) - Make notification id optional fixes #703 [#709](https://github.com/wix/react-native-notifications/pull/709) by [antontanderup](https://github.com/antontanderup) - Fix boolean type when converting to js [#702](https://github.com/wix/react-native-notifications/pull/702) by [xilin](https://github.com/xilin) - [BugFix][iOS] Cleaning up initial notification after resolve [#697](https://github.com/wix/react-native-notifications/pull/697) by [muryj](https://github.com/muryj) - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie) - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal) - [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) --- ## 3.1.3 (31/12/1969) #### Enhancements: - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz) - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz) - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame) - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci) - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz) - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz) - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany) - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz) - back to index js [#814](https://github.com/wix/react-native-notifications/pull/814) by [DanielEliraz](https://github.com/DanielEliraz) - Fix Android API 31 issues and Convert example to TS [#812](https://github.com/wix/react-native-notifications/pull/812) by [DanielEliraz](https://github.com/DanielEliraz) - update start guide [#800](https://github.com/wix/react-native-notifications/pull/800) by [weihangChen](https://github.com/weihangChen) - upgrade to react-native@66.3 [#805](https://github.com/wix/react-native-notifications/pull/805) by [DanielEliraz](https://github.com/DanielEliraz) - FEAT: ios add permissions to check permissions [#762](https://github.com/wix/react-native-notifications/pull/762) by [DanielEliraz](https://github.com/DanielEliraz) - resiter remote on provisional approve [#759](https://github.com/wix/react-native-notifications/pull/759) by [DanielEliraz](https://github.com/DanielEliraz) - expose provisional state [#756](https://github.com/wix/react-native-notifications/pull/756) by [DanielEliraz](https://github.com/DanielEliraz) - Add ability to request/check more iOS permissions [#752](https://github.com/wix/react-native-notifications/pull/752) by [DanielEliraz](https://github.com/DanielEliraz) - stop using deprecated firebase iid [#751](https://github.com/wix/react-native-notifications/pull/751) by [DanielEliraz](https://github.com/DanielEliraz) - upgrade lodash to 4.17.21 [#747](https://github.com/wix/react-native-notifications/pull/747) by [DanielEliraz](https://github.com/DanielEliraz) - Provisional option in iOS registeration [#744](https://github.com/wix/react-native-notifications/pull/744) by [DanielEliraz](https://github.com/DanielEliraz) - return to ios.registerRemoteNotifications name [#742](https://github.com/wix/react-native-notifications/pull/742) by [DanielEliraz](https://github.com/DanielEliraz) - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz) - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd) - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd) #### Bug Fixes: - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz) - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz) - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz) - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz) - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz) - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz) - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz) - notifyReceivedToJS only when app is visible [#694](https://github.com/wix/react-native-notifications/pull/694) by [swabbass](https://github.com/swabbass) - fix enfroce label [#795](https://github.com/wix/react-native-notifications/pull/795) by [DanielEliraz](https://github.com/DanielEliraz) - fix: Add missing `android:exported` to `service` [#790](https://github.com/wix/react-native-notifications/pull/790) by [mrousavy](https://github.com/mrousavy) - fix ts cancelLocalNotification prop [#754](https://github.com/wix/react-native-notifications/pull/754) by [DanielEliraz](https://github.com/DanielEliraz) - Fix channel and channel group implementation [#750](https://github.com/wix/react-native-notifications/pull/750) by [DanielEliraz](https://github.com/DanielEliraz) - finish run completion handler in main thread [#748](https://github.com/wix/react-native-notifications/pull/748) by [DanielEliraz](https://github.com/DanielEliraz) - Make notification id optional fixes #703 [#709](https://github.com/wix/react-native-notifications/pull/709) by [antontanderup](https://github.com/antontanderup) - Fix boolean type when converting to js [#702](https://github.com/wix/react-native-notifications/pull/702) by [xilin](https://github.com/xilin) - [BugFix][iOS] Cleaning up initial notification after resolve [#697](https://github.com/wix/react-native-notifications/pull/697) by [muryj](https://github.com/muryj) - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie) - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal) - [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) --- ## 3.1.2 (31/12/1969) #### Enhancements: - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz) - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz) - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame) - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci) - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz) - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz) - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany) - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz) - back to index js [#814](https://github.com/wix/react-native-notifications/pull/814) by [DanielEliraz](https://github.com/DanielEliraz) - Fix Android API 31 issues and Convert example to TS [#812](https://github.com/wix/react-native-notifications/pull/812) by [DanielEliraz](https://github.com/DanielEliraz) - update start guide [#800](https://github.com/wix/react-native-notifications/pull/800) by [weihangChen](https://github.com/weihangChen) - upgrade to react-native@66.3 [#805](https://github.com/wix/react-native-notifications/pull/805) by [DanielEliraz](https://github.com/DanielEliraz) - FEAT: ios add permissions to check permissions [#762](https://github.com/wix/react-native-notifications/pull/762) by [DanielEliraz](https://github.com/DanielEliraz) - resiter remote on provisional approve [#759](https://github.com/wix/react-native-notifications/pull/759) by [DanielEliraz](https://github.com/DanielEliraz) - expose provisional state [#756](https://github.com/wix/react-native-notifications/pull/756) by [DanielEliraz](https://github.com/DanielEliraz) - Add ability to request/check more iOS permissions [#752](https://github.com/wix/react-native-notifications/pull/752) by [DanielEliraz](https://github.com/DanielEliraz) - stop using deprecated firebase iid [#751](https://github.com/wix/react-native-notifications/pull/751) by [DanielEliraz](https://github.com/DanielEliraz) - upgrade lodash to 4.17.21 [#747](https://github.com/wix/react-native-notifications/pull/747) by [DanielEliraz](https://github.com/DanielEliraz) - Provisional option in iOS registeration [#744](https://github.com/wix/react-native-notifications/pull/744) by [DanielEliraz](https://github.com/DanielEliraz) - return to ios.registerRemoteNotifications name [#742](https://github.com/wix/react-native-notifications/pull/742) by [DanielEliraz](https://github.com/DanielEliraz) - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz) - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd) - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd) #### Bug Fixes: - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz) - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz) - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz) - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz) - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz) - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz) - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz) - notifyReceivedToJS only when app is visible [#694](https://github.com/wix/react-native-notifications/pull/694) by [swabbass](https://github.com/swabbass) - fix enfroce label [#795](https://github.com/wix/react-native-notifications/pull/795) by [DanielEliraz](https://github.com/DanielEliraz) - fix: Add missing `android:exported` to `service` [#790](https://github.com/wix/react-native-notifications/pull/790) by [mrousavy](https://github.com/mrousavy) - fix ts cancelLocalNotification prop [#754](https://github.com/wix/react-native-notifications/pull/754) by [DanielEliraz](https://github.com/DanielEliraz) - Fix channel and channel group implementation [#750](https://github.com/wix/react-native-notifications/pull/750) by [DanielEliraz](https://github.com/DanielEliraz) - finish run completion handler in main thread [#748](https://github.com/wix/react-native-notifications/pull/748) by [DanielEliraz](https://github.com/DanielEliraz) - Make notification id optional fixes #703 [#709](https://github.com/wix/react-native-notifications/pull/709) by [antontanderup](https://github.com/antontanderup) - Fix boolean type when converting to js [#702](https://github.com/wix/react-native-notifications/pull/702) by [xilin](https://github.com/xilin) - [BugFix][iOS] Cleaning up initial notification after resolve [#697](https://github.com/wix/react-native-notifications/pull/697) by [muryj](https://github.com/muryj) - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie) - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal) - [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) --- ## 3.1.1 (31/12/1969) #### Enhancements: - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz) - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz) - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame) - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci) - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz) - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz) - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany) - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz) - back to index js [#814](https://github.com/wix/react-native-notifications/pull/814) by [DanielEliraz](https://github.com/DanielEliraz) - Fix Android API 31 issues and Convert example to TS [#812](https://github.com/wix/react-native-notifications/pull/812) by [DanielEliraz](https://github.com/DanielEliraz) - update start guide [#800](https://github.com/wix/react-native-notifications/pull/800) by [weihangChen](https://github.com/weihangChen) - upgrade to react-native@66.3 [#805](https://github.com/wix/react-native-notifications/pull/805) by [DanielEliraz](https://github.com/DanielEliraz) - FEAT: ios add permissions to check permissions [#762](https://github.com/wix/react-native-notifications/pull/762) by [DanielEliraz](https://github.com/DanielEliraz) - resiter remote on provisional approve [#759](https://github.com/wix/react-native-notifications/pull/759) by [DanielEliraz](https://github.com/DanielEliraz) - expose provisional state [#756](https://github.com/wix/react-native-notifications/pull/756) by [DanielEliraz](https://github.com/DanielEliraz) - Add ability to request/check more iOS permissions [#752](https://github.com/wix/react-native-notifications/pull/752) by [DanielEliraz](https://github.com/DanielEliraz) - stop using deprecated firebase iid [#751](https://github.com/wix/react-native-notifications/pull/751) by [DanielEliraz](https://github.com/DanielEliraz) - upgrade lodash to 4.17.21 [#747](https://github.com/wix/react-native-notifications/pull/747) by [DanielEliraz](https://github.com/DanielEliraz) - Provisional option in iOS registeration [#744](https://github.com/wix/react-native-notifications/pull/744) by [DanielEliraz](https://github.com/DanielEliraz) - return to ios.registerRemoteNotifications name [#742](https://github.com/wix/react-native-notifications/pull/742) by [DanielEliraz](https://github.com/DanielEliraz) - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz) - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd) - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd) #### Bug Fixes: - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz) - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz) - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz) - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz) - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz) - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz) - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz) - notifyReceivedToJS only when app is visible [#694](https://github.com/wix/react-native-notifications/pull/694) by [swabbass](https://github.com/swabbass) - fix enfroce label [#795](https://github.com/wix/react-native-notifications/pull/795) by [DanielEliraz](https://github.com/DanielEliraz) - fix: Add missing `android:exported` to `service` [#790](https://github.com/wix/react-native-notifications/pull/790) by [mrousavy](https://github.com/mrousavy) - fix ts cancelLocalNotification prop [#754](https://github.com/wix/react-native-notifications/pull/754) by [DanielEliraz](https://github.com/DanielEliraz) - Fix channel and channel group implementation [#750](https://github.com/wix/react-native-notifications/pull/750) by [DanielEliraz](https://github.com/DanielEliraz) - finish run completion handler in main thread [#748](https://github.com/wix/react-native-notifications/pull/748) by [DanielEliraz](https://github.com/DanielEliraz) - Make notification id optional fixes #703 [#709](https://github.com/wix/react-native-notifications/pull/709) by [antontanderup](https://github.com/antontanderup) - Fix boolean type when converting to js [#702](https://github.com/wix/react-native-notifications/pull/702) by [xilin](https://github.com/xilin) - [BugFix][iOS] Cleaning up initial notification after resolve [#697](https://github.com/wix/react-native-notifications/pull/697) by [muryj](https://github.com/muryj) - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie) - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal) - [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) --- ## 3.1.0 (31/12/1969) #### Enhancements: - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz) - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz) - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame) - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci) - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz) - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz) - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany) - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz) - back to index js [#814](https://github.com/wix/react-native-notifications/pull/814) by [DanielEliraz](https://github.com/DanielEliraz) - Fix Android API 31 issues and Convert example to TS [#812](https://github.com/wix/react-native-notifications/pull/812) by [DanielEliraz](https://github.com/DanielEliraz) - update start guide [#800](https://github.com/wix/react-native-notifications/pull/800) by [weihangChen](https://github.com/weihangChen) - upgrade to react-native@66.3 [#805](https://github.com/wix/react-native-notifications/pull/805) by [DanielEliraz](https://github.com/DanielEliraz) - FEAT: ios add permissions to check permissions [#762](https://github.com/wix/react-native-notifications/pull/762) by [DanielEliraz](https://github.com/DanielEliraz) - resiter remote on provisional approve [#759](https://github.com/wix/react-native-notifications/pull/759) by [DanielEliraz](https://github.com/DanielEliraz) - expose provisional state [#756](https://github.com/wix/react-native-notifications/pull/756) by [DanielEliraz](https://github.com/DanielEliraz) - Add ability to request/check more iOS permissions [#752](https://github.com/wix/react-native-notifications/pull/752) by [DanielEliraz](https://github.com/DanielEliraz) - stop using deprecated firebase iid [#751](https://github.com/wix/react-native-notifications/pull/751) by [DanielEliraz](https://github.com/DanielEliraz) - upgrade lodash to 4.17.21 [#747](https://github.com/wix/react-native-notifications/pull/747) by [DanielEliraz](https://github.com/DanielEliraz) - Provisional option in iOS registeration [#744](https://github.com/wix/react-native-notifications/pull/744) by [DanielEliraz](https://github.com/DanielEliraz) - return to ios.registerRemoteNotifications name [#742](https://github.com/wix/react-native-notifications/pull/742) by [DanielEliraz](https://github.com/DanielEliraz) - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz) - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd) - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd) #### Bug Fixes: - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz) - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz) - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz) - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz) - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz) - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz) - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz) - notifyReceivedToJS only when app is visible [#694](https://github.com/wix/react-native-notifications/pull/694) by [swabbass](https://github.com/swabbass) - fix enfroce label [#795](https://github.com/wix/react-native-notifications/pull/795) by [DanielEliraz](https://github.com/DanielEliraz) - fix: Add missing `android:exported` to `service` [#790](https://github.com/wix/react-native-notifications/pull/790) by [mrousavy](https://github.com/mrousavy) - fix ts cancelLocalNotification prop [#754](https://github.com/wix/react-native-notifications/pull/754) by [DanielEliraz](https://github.com/DanielEliraz) - Fix channel and channel group implementation [#750](https://github.com/wix/react-native-notifications/pull/750) by [DanielEliraz](https://github.com/DanielEliraz) - finish run completion handler in main thread [#748](https://github.com/wix/react-native-notifications/pull/748) by [DanielEliraz](https://github.com/DanielEliraz) - Make notification id optional fixes #703 [#709](https://github.com/wix/react-native-notifications/pull/709) by [antontanderup](https://github.com/antontanderup) - Fix boolean type when converting to js [#702](https://github.com/wix/react-native-notifications/pull/702) by [xilin](https://github.com/xilin) - [BugFix][iOS] Cleaning up initial notification after resolve [#697](https://github.com/wix/react-native-notifications/pull/697) by [muryj](https://github.com/muryj) - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie) - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal) - [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) --- ## 3.0.0 (31/12/1969) #### Enhancements: - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz) - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz) - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame) - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci) - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz) - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz) - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany) - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz) - back to index js [#814](https://github.com/wix/react-native-notifications/pull/814) by [DanielEliraz](https://github.com/DanielEliraz) - Fix Android API 31 issues and Convert example to TS [#812](https://github.com/wix/react-native-notifications/pull/812) by [DanielEliraz](https://github.com/DanielEliraz) - update start guide [#800](https://github.com/wix/react-native-notifications/pull/800) by [weihangChen](https://github.com/weihangChen) - upgrade to react-native@66.3 [#805](https://github.com/wix/react-native-notifications/pull/805) by [DanielEliraz](https://github.com/DanielEliraz) - FEAT: ios add permissions to check permissions [#762](https://github.com/wix/react-native-notifications/pull/762) by [DanielEliraz](https://github.com/DanielEliraz) - resiter remote on provisional approve [#759](https://github.com/wix/react-native-notifications/pull/759) by [DanielEliraz](https://github.com/DanielEliraz) - expose provisional state [#756](https://github.com/wix/react-native-notifications/pull/756) by [DanielEliraz](https://github.com/DanielEliraz) - Add ability to request/check more iOS permissions [#752](https://github.com/wix/react-native-notifications/pull/752) by [DanielEliraz](https://github.com/DanielEliraz) - stop using deprecated firebase iid [#751](https://github.com/wix/react-native-notifications/pull/751) by [DanielEliraz](https://github.com/DanielEliraz) - upgrade lodash to 4.17.21 [#747](https://github.com/wix/react-native-notifications/pull/747) by [DanielEliraz](https://github.com/DanielEliraz) - Provisional option in iOS registeration [#744](https://github.com/wix/react-native-notifications/pull/744) by [DanielEliraz](https://github.com/DanielEliraz) - return to ios.registerRemoteNotifications name [#742](https://github.com/wix/react-native-notifications/pull/742) by [DanielEliraz](https://github.com/DanielEliraz) - App notification settings link [#740](https://github.com/wix/react-native-notifications/pull/740) by [DanielEliraz](https://github.com/DanielEliraz) - Add enforce label action [#696](https://github.com/wix/react-native-notifications/pull/696) by [yogevbd](https://github.com/yogevbd) - Lock docusaurus version [#695](https://github.com/wix/react-native-notifications/pull/695) by [yogevbd](https://github.com/yogevbd) #### Bug Fixes: - trigger notificationOpened from killed state [#908](https://github.com/wix/react-native-notifications/pull/908) by [DanielEliraz](https://github.com/DanielEliraz) - FIX 867: add deprecated hasActiveCatalystInstance for old RN [#868](https://github.com/wix/react-native-notifications/pull/868) by [DanielEliraz](https://github.com/DanielEliraz) - FIX #835: null mNotification [#862](https://github.com/wix/react-native-notifications/pull/862) by [DanielEliraz](https://github.com/DanielEliraz) - create default channel only when no existing channel [#839](https://github.com/wix/react-native-notifications/pull/839) by [DanielEliraz](https://github.com/DanielEliraz) - fix initial notification from killed [#831](https://github.com/wix/react-native-notifications/pull/831) by [DanielEliraz](https://github.com/DanielEliraz) - latest notification data in getInitialNotification [#830](https://github.com/wix/react-native-notifications/pull/830) by [DanielEliraz](https://github.com/DanielEliraz) - revert android to api 30 [#823](https://github.com/wix/react-native-notifications/pull/823) by [DanielEliraz](https://github.com/DanielEliraz) - notifyReceivedToJS only when app is visible [#694](https://github.com/wix/react-native-notifications/pull/694) by [swabbass](https://github.com/swabbass) - fix enfroce label [#795](https://github.com/wix/react-native-notifications/pull/795) by [DanielEliraz](https://github.com/DanielEliraz) - fix: Add missing `android:exported` to `service` [#790](https://github.com/wix/react-native-notifications/pull/790) by [mrousavy](https://github.com/mrousavy) - fix ts cancelLocalNotification prop [#754](https://github.com/wix/react-native-notifications/pull/754) by [DanielEliraz](https://github.com/DanielEliraz) - Fix channel and channel group implementation [#750](https://github.com/wix/react-native-notifications/pull/750) by [DanielEliraz](https://github.com/DanielEliraz) - finish run completion handler in main thread [#748](https://github.com/wix/react-native-notifications/pull/748) by [DanielEliraz](https://github.com/DanielEliraz) - Make notification id optional fixes #703 [#709](https://github.com/wix/react-native-notifications/pull/709) by [antontanderup](https://github.com/antontanderup) - Fix boolean type when converting to js [#702](https://github.com/wix/react-native-notifications/pull/702) by [xilin](https://github.com/xilin) - [BugFix][iOS] Cleaning up initial notification after resolve [#697](https://github.com/wix/react-native-notifications/pull/697) by [muryj](https://github.com/muryj) - Fixes #627 - First foreground notification is not visible [#685](https://github.com/wix/react-native-notifications/pull/685) by [erkie](https://github.com/erkie) - Fix Xcode 12 Compatibility [#672](https://github.com/wix/react-native-notifications/pull/672) by [jaykhandelwal](https://github.com/jaykhandelwal) - [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) --- ## 3.0.0-beta.4 (31/12/1969) #### Enhancements: - revert-to-open-only-when-no-initial-notification [#914](https://github.com/wix/react-native-notifications/pull/914) by [DanielEliraz](https://github.com/DanielEliraz) - Upgrade to rn 68 [#907](https://github.com/wix/react-native-notifications/pull/907) by [DanielEliraz](https://github.com/DanielEliraz) - Exposes new event: remoteNotificationsRegistrationDenied [#845](https://github.com/wix/react-native-notifications/pull/845) by [artdevgame](https://github.com/artdevgame) - Fix typo in example [#843](https://github.com/wix/react-native-notifications/pull/843) by [oh3vci](https://github.com/oh3vci) - emphasize NotificationReceivedBackground ios guide [#838](https://github.com/wix/react-native-notifications/pull/838) by [DanielEliraz](https://github.com/DanielEliraz) - Fix trampoline on target sdk 31 [#837](https://github.com/wix/react-native-notifications/pull/837) by [DanielEliraz](https://github.com/DanielEliraz) - used common ext names exported in root project [#798](https://github.com/wix/react-native-notifications/pull/798) by [SaeedZhiany](https://github.com/SaeedZhiany) - android: do not display data-only PN [#822](https://github.com/wix/react-native-notifications/pull/822) by [DanielEliraz](https://github.com/DanielEliraz) - back to index js [#814](https://github.com/wix/react-native-notifications/pull/814) by [DanielEliraz](https://github.com/DanielEliraz) - Fix Android API 31 issues and Convert example to TS [#812](https://github.com/wix/react-native-notifications/pull/812) by [DanielEliraz](https://github.com/DanielEliraz) - update start guide [#800](https://github.com/wix/react-native-notifications/pull/800) by [weihangChen](https://github.com/weihangChen) - upgrade to react-native@66.3 [#805](https://github.com/wix/react-native-notifications/pull/805) by [DanielEliraz](https://github.com/DanielEliraz) - FEAT: ios add permissions to check permissions [#762](https://github.com/wix/react-native-notifications/pull/762) by [DanielEliraz](https://github.com/DanielEliraz) - resiter remote on provisional approve [#759](https://github.com/wix/react-native-notifications/pull/759) by [DanielEliraz](https://github.com/DanielEliraz) - expose provisional state [#756](https://github.com/wix/react-native-notifications/pull/756) by [DanielEliraz](https://github.com/DanielEliraz) - Add ability to request/check more iOS permissions [#752](https://github.com/wix/react-native-notifications/pull/752) by [DanielEliraz](https://github.com/DanielEliraz) - stop using d