From 3c0ad7d61584fe1410e37f59c0e76912390620db Mon Sep 17 00:00:00 2001 From: "Srirang.Kalantri" Date: Fri, 10 Jul 2026 12:44:55 +0530 Subject: [PATCH] chore: upgrade notifee library --- CHANGELOG.md | 2 +- Gemfile.lock | 7 ++++- android/build.gradle | 4 --- ios/Podfile.lock | 62 ++++++++++++++++++++++++++++++++++++-------- package-lock.json | 35 ++++++++++++++++++------- package.json | 2 +- 6 files changed, 84 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e93e879d..d67acb9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - We migrated from react-native-fast-image to @d11/react-native-fast-image for new architecture compatibility. - Upgrade react-native-reanimated to v3.16.7. - We migrated from `react-native-splash-screen` to `react-native-bootsplash@6.3.10` for better splash screen support and autolinking compatibility. - +- Replaced @notifee/react-native with react-native-notify-kit library. ## [3.1.8] Make it Native - 2025-4-02 diff --git a/Gemfile.lock b/Gemfile.lock index 3464f8c1..e56cda0a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -71,6 +71,7 @@ GEM escape (0.0.4) ethon (0.15.0) ffi (>= 1.15.0) + ffi (1.17.2) ffi (1.17.2-arm64-darwin) fourflusher (2.3.1) fuzzy_match (2.0.4) @@ -81,13 +82,16 @@ GEM concurrent-ruby (~> 1.0) json (2.15.0) logger (1.7.0) - minitest (5.25.5) + minitest (6.0.6) + drb (~> 2.0) + prism (~> 1.5) molinillo (0.8.0) mutex_m (0.3.0) nanaimo (0.4.0) nap (1.1.0) netrc (0.11.0) nkf (0.2.0) + prism (1.9.0) public_suffix (4.0.7) rexml (3.4.4) ruby-macho (2.5.1) @@ -106,6 +110,7 @@ GEM PLATFORMS arm64-darwin + x86_64-darwin-23 DEPENDENCIES activesupport (>= 6.1.7.5, != 7.1.0) diff --git a/android/build.gradle b/android/build.gradle index 2d92bd73..d9480bec 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -71,10 +71,6 @@ allprojects { // Uncomment the following line if Windows fails due to long paths // buildDir = c:/temp/${rootProject.name}/${project.name} repositories { - maven { - url "$rootDir/../node_modules/@notifee/react-native/android/libs" - } - // Build all modules with Android 16KB pages enabled plugins.withId('com.android.application') { android { diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 9ea178c7..75413b1e 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -221,7 +221,7 @@ PODS: - ReactCommon/turbomodule/core - ReactNativeDependencies - Yoga - - OpenSSL-Universal (3.6.0000) + - OpenSSL-Universal (3.3.3001) - PromisesObjC (2.4.0) - PromisesSwift (2.4.0): - PromisesObjC (= 2.4.0) @@ -2584,11 +2584,51 @@ PODS: - ReactCommon/turbomodule/core - ReactNativeDependencies - Yoga - - RNNotifee (9.1.8): + - RNNotifee (10.4.7): + - hermes-engine + - RCTRequired + - RCTTypeSafety - React-Core - - RNNotifee/NotifeeCore (= 9.1.8) - - RNNotifee/NotifeeCore (9.1.8): + - React-Core-prebuilt + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-renderercss + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - RNNotifee/NotifeeCore (= 10.4.7) + - Yoga + - RNNotifee/NotifeeCore (10.4.7): + - hermes-engine + - RCTRequired + - RCTTypeSafety - React-Core + - React-Core-prebuilt + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-renderercss + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga - RNPermissions (5.5.1): - hermes-engine - RCTRequired @@ -3030,7 +3070,7 @@ DEPENDENCIES: - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) - RNInAppBrowser (from `../node_modules/react-native-inappbrowser-reborn`) - RNLocalize (from `../node_modules/react-native-localize`) - - "RNNotifee (from `../node_modules/@notifee/react-native`)" + - RNNotifee (from `../node_modules/react-native-notify-kit`) - RNPermissions (from `../node_modules/react-native-permissions`) - RNReanimated (from `../node_modules/react-native-reanimated`) - RNScreens (from `../node_modules/react-native-screens`) @@ -3293,7 +3333,7 @@ EXTERNAL SOURCES: RNLocalize: :path: "../node_modules/react-native-localize" RNNotifee: - :path: "../node_modules/@notifee/react-native" + :path: "../node_modules/react-native-notify-kit" RNPermissions: :path: "../node_modules/react-native-permissions" RNReanimated: @@ -3331,14 +3371,14 @@ SPEC CHECKSUMS: GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleMaps: 8939898920281c649150e0af74aa291c60f2e77d GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 - hermes-engine: 48a4081d5ebf9ec3b0d6ad6a11254f1f5a7f5bae + hermes-engine: 9f413d250a72916dd55c7f91986df1af38bfd3d1 IQKeyboardManager: c8665b3396bd0b79402b4c573eac345a31c7d485 libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8 MendixNative: 7cba944a4e608e6ab40ec281e9b2b0f9f3cdefe0 MultiplatformBleAdapter: b1fddd0d499b96b607e00f0faa8e60648343dc1d nanopb: 438bc412db1928dac798aa6fd75726007be04262 op-sqlite: e9ef65bcf95a97863874cee87841425bb71c8396 - OpenSSL-Universal: 9110d21982bb7e8b22a962b6db56a8aa805afde7 + OpenSSL-Universal: 6082b0bf950e5636fe0d78def171184e2b3899c2 PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 QRCodeReader.swift: 373a389fe9a22d513c879a32a6f647c58f4ef572 @@ -3350,7 +3390,7 @@ SPEC CHECKSUMS: React: 1ba7d364ade7d883a1ec055bfc3606f35fdee17b React-callinvoker: bc2a26f8d84fb01f003fc6de6c9337b64715f95b React-Core: 7840d3a80b43a95c5e80ef75146bd70925ebab0f - React-Core-prebuilt: da3a158f1e31b83bdf28f7855e22a0885cfb9d61 + React-Core-prebuilt: d701b5b0eb57bfcf6c51f70272957e310f18265b React-CoreModules: 2eb010400b63b89e53a324ffb3c112e4c7c3ce42 React-cxxreact: a558e92199d26f145afa9e62c4233cf8e7950efe React-debug: 755200a6e7f5e6e0a40ff8d215493d43cce285fc @@ -3430,7 +3470,7 @@ SPEC CHECKSUMS: ReactCodegen: 797de5178718324c6eba3327b07f9a423fbd5787 ReactCommon: 07572bf9e687c8a52fbe4a3641e9e3a1a477c78e ReactNativeBiometrics: 9ead8d633833fd13e5a79564af8ba7064c2a58c6 - ReactNativeDependencies: b2c3c0cdbf1823de4ac83c51bf6e64ee0ecd86ad + ReactNativeDependencies: 3594fe509c7410bab314d8d79aba0852e442de2d RNBootSplash: 13b7612788960d0c5446e68489ac2509e506cfcd RNCalendarEvents: f90f73666b6bcbb3cc8a491ffbb5e48c0db3de37 RNCAsyncStorage: 3a4f5e2777dae1688b781a487923a08569e27fe4 @@ -3446,7 +3486,7 @@ SPEC CHECKSUMS: RNGestureHandler: b4f6de20b30325ee40b693f558ad02213201ce91 RNInAppBrowser: 6d3eb68d471b9834335c664704719b8be1bfdb20 RNLocalize: 1e6eb4290e89502c3d2193d82dfb7de14a9e672b - RNNotifee: 5e3b271e8ea7456a36eec994085543c9adca9168 + RNNotifee: 9ca22cfc316c0a793ea23cfc0edca0b80d38e02e RNPermissions: b93b4cdb4c900e7b5691728716fed6c53b5e1e4c RNReanimated: e47df7f4580997c3a46b1e736ce3f26010985bb7 RNScreens: 6cb648bdad8fe9bee9259fe144df95b6d1d5b707 diff --git a/package-lock.json b/package-lock.json index 6c7c0cdd..6245d031 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "license": "Apache-2.0", "dependencies": { "@gorhom/bottom-sheet": "5.2.14", - "@notifee/react-native": "9.1.8", "@octokit/rest": "^21.1.1", "@op-engineering/op-sqlite": "15.2.5", "@react-native-async-storage/async-storage": "2.2.0", @@ -51,6 +50,7 @@ "react-native-linear-gradient": "2.8.3", "react-native-localize": "3.7.0", "react-native-maps": "1.20.1", + "react-native-notify-kit": "10.4.7", "react-native-pager-view": "6.9.1", "react-native-permissions": "5.5.1", "react-native-reanimated": "4.3.1", @@ -1548,15 +1548,6 @@ "node": ">= 8" } }, - "node_modules/@notifee/react-native": { - "version": "9.1.8", - "resolved": "https://registry.npmjs.org/@notifee/react-native/-/react-native-9.1.8.tgz", - "integrity": "sha512-Az/dueoPerJsbbjRxu8a558wKY+gONUrfoy3Hs++5OqbeMsR0dYe6P+4oN6twrLFyzAhEA1tEoZRvQTFDRmvQg==", - "license": "Apache-2.0", - "peerDependencies": { - "react-native": "*" - } - }, "node_modules/@octokit/auth-token": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.2.tgz", @@ -8029,6 +8020,30 @@ } } }, + "node_modules/react-native-notify-kit": { + "version": "10.4.7", + "resolved": "https://registry.npmjs.org/react-native-notify-kit/-/react-native-notify-kit-10.4.7.tgz", + "integrity": "sha512-G5w2H8/TGBncNRZO0In0wu99JIKnUTOAXwTlBwiRDqBXCUIgmIqQIqcinz7LliMoqGhO2TJOwK4avARmcPorBw==", + "license": "Apache-2.0", + "bin": { + "react-native-notify-kit": "cli/bin/react-native-notify-kit" + }, + "optionalDependencies": { + "chalk": "^4.1.0", + "commander": "^12.0.0", + "plist": "^3.1.0", + "xcode": "^3.0.1" + }, + "peerDependencies": { + "expo": "*", + "react-native": ">=0.73.0" + }, + "peerDependenciesMeta": { + "expo": { + "optional": true + } + } + }, "node_modules/react-native-pager-view": { "version": "6.9.1", "resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-6.9.1.tgz", diff --git a/package.json b/package.json index d2150706..0fc7aff2 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "dependencies": { "@gorhom/bottom-sheet": "5.2.14", "mendix-native": "https://github.com/mendix/mendix-native/releases/download/v0.5.0/mendix-native-v0.5.0.tgz", - "@notifee/react-native": "9.1.8", "@octokit/rest": "^21.1.1", "@op-engineering/op-sqlite": "15.2.5", "@shopify/flash-list": "2.3.1", @@ -56,6 +55,7 @@ "react-native-linear-gradient": "2.8.3", "react-native-localize": "3.7.0", "react-native-maps": "1.20.1", + "react-native-notify-kit": "10.4.7", "react-native-pager-view": "6.9.1", "react-native-permissions": "5.5.1", "react-native-reanimated": "4.3.1",