Skip to content

Commit 2455f37

Browse files
authored
[MOO-2308]: replace notifee library (#541)
2 parents dfa7823 + 28a4a6d commit 2455f37

13 files changed

Lines changed: 102 additions & 26 deletions

File tree

packages/jsActions/mobile-resources-native/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- Replaced @notifee/react-native with react-native-notify-kit library.
912
- We switched to a new sound library for the Play sound action to support react-native 0.84+.
1013
- The Play sound action now plays audio files from online (network) documents on Android by downloading them to a version-based cache before playback.
1114
- We have fixed the biometric authentication issue where it was not working on Android and crashing on iOS.

packages/jsActions/mobile-resources-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"release:marketplace": "node ../../../scripts/release/marketplaceRelease.js"
2929
},
3030
"dependencies": {
31-
"@notifee/react-native": "9.1.8",
3231
"@react-native-camera-roll/camera-roll": "7.10.2",
32+
"react-native-notify-kit": "10.4.7",
3333
"@react-native-firebase/messaging": "20.1.0",
3434
"@sbaiahmed1/react-native-biometrics": "0.15.0",
3535
"@swan-io/react-native-browser": "1.0.1",

packages/jsActions/mobile-resources-native/src/notifications/CancelAllScheduledNotifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
77
// Other code you write will be lost the next time you deploy the project.
88
import { NativeModules } from "react-native";
9-
import notifee from "@notifee/react-native";
9+
import notifee from "react-native-notify-kit";
1010

1111
// BEGIN EXTRA CODE
1212
// END EXTRA CODE

packages/jsActions/mobile-resources-native/src/notifications/CancelScheduledNotification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
77
// Other code you write will be lost the next time you deploy the project.
88
import { NativeModules } from "react-native";
9-
import notifee from "@notifee/react-native";
9+
import notifee from "react-native-notify-kit";
1010

1111
// BEGIN EXTRA CODE
1212
// END EXTRA CODE

packages/jsActions/mobile-resources-native/src/notifications/ClearAllDeliveredNotifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
77
// Other code you write will be lost the next time you deploy the project.
88
import { NativeModules } from "react-native";
9-
import notifee from "@notifee/react-native";
9+
import notifee from "react-native-notify-kit";
1010

1111
// BEGIN EXTRA CODE
1212
// END EXTRA CODE

packages/jsActions/mobile-resources-native/src/notifications/DisplayNotification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
77
// Other code you write will be lost the next time you deploy the project.
88
import { NativeModules, Platform } from "react-native";
9-
import notifee, { AndroidChannel, AndroidImportance, Notification } from "@notifee/react-native";
9+
import notifee, { AndroidChannel, AndroidImportance, Notification } from "react-native-notify-kit";
1010

1111
// BEGIN EXTRA CODE
1212
// END EXTRA CODE

packages/jsActions/mobile-resources-native/src/notifications/ScheduleNotification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import notifee, {
1313
AndroidImportance,
1414
Notification,
1515
AlarmType
16-
} from "@notifee/react-native";
16+
} from "react-native-notify-kit";
1717
// BEGIN EXTRA CODE
1818
// END EXTRA CODE
1919

packages/jsActions/mobile-resources-native/src/notifications/SetBadgeNumber.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Other code you write will be lost the next time you deploy the project.
88
import { Big } from "big.js";
99
import { NativeModules } from "react-native";
10-
import notifee from "@notifee/react-native";
10+
import notifee from "react-native-notify-kit";
1111

1212
// BEGIN EXTRA CODE
1313
// END EXTRA CODE

packages/pluggableWidgets/notifications-native/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- Replaced @notifee/react-native with react-native-notify-kit library.
12+
913
## [5.1.0] - 2025-12-15
1014

1115
## BREAKING

packages/pluggableWidgets/notifications-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "notifications-native",
33
"widgetName": "Notifications",
4-
"version": "5.2.0",
4+
"version": "5.3.0",
55
"license": "Apache-2.0",
66
"repository": {
77
"type": "git",
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"@mendix/piw-utils-internal": "*",
22-
"@notifee/react-native": "9.1.8",
22+
"react-native-notify-kit": "10.4.7",
2323
"@react-native-firebase/app": "20.1.0",
2424
"@react-native-firebase/messaging": "20.1.0"
2525
},

0 commit comments

Comments
 (0)