Skip to content

Commit 9da1015

Browse files
committed
Migrate from react-native-push-notification to @notifee/react-native
- Replace react-native-push-notification 8.1.1 with @notifee/react-native 9.1.8 - Update known_dependencies.json to include @notifee/react-native - Update CHANGELOG.md with migration details This migration provides better new architecture compatibility and enhanced push notification features.
1 parent 11fd940 commit 9da1015

File tree

5 files changed

+9
-15
lines changed

5 files changed

+9
-15
lines changed

.mx/known_dependencies.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"@react-native-firebase/app": "17.3.0",
33
"@react-native-firebase/messaging": "17.3.0",
44
"@react-native-firebase/crashlytics": "17.3.0",
5-
"@react-native-community/push-notification-ios": "1.10.1",
6-
"react-native-push-notification": "8.1.1",
5+
"@notifee/react-native": "9.1.8",
76
"react-native-maps": "0.31.1"
87
}

CHANGELOG.md

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

77
## [Unreleased]
88

9+
- We have migrated from react-native-push-notification to @notifee/react-native for better new architecture compatibility and enhanced push notification features
10+
911
- We have upgraded `react-native-permissions` to version 5.4.2
1012

1113
- We have removed `react-native-schedule-exact-alarm-permission` dependency

ios/nativeTemplate.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@
466466
"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly/RCT-Folly_privacy.bundle",
467467
"${PODS_CONFIGURATION_BUILD_DIR}/RNCAsyncStorage/RNCAsyncStorage_resources.bundle",
468468
"${PODS_CONFIGURATION_BUILD_DIR}/RNDeviceInfo/RNDeviceInfoPrivacyInfo.bundle",
469+
"${PODS_CONFIGURATION_BUILD_DIR}/RNPermissions/RNPermissionsPrivacyInfo.bundle",
469470
"${PODS_CONFIGURATION_BUILD_DIR}/RNSVG/RNSVGFilters.bundle",
470471
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
471472
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
@@ -500,6 +501,7 @@
500501
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCT-Folly_privacy.bundle",
501502
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNCAsyncStorage_resources.bundle",
502503
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNDeviceInfoPrivacyInfo.bundle",
504+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNPermissionsPrivacyInfo.bundle",
503505
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNSVGFilters.bundle",
504506
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
505507
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",
@@ -566,6 +568,7 @@
566568
"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly/RCT-Folly_privacy.bundle",
567569
"${PODS_CONFIGURATION_BUILD_DIR}/RNCAsyncStorage/RNCAsyncStorage_resources.bundle",
568570
"${PODS_CONFIGURATION_BUILD_DIR}/RNDeviceInfo/RNDeviceInfoPrivacyInfo.bundle",
571+
"${PODS_CONFIGURATION_BUILD_DIR}/RNPermissions/RNPermissionsPrivacyInfo.bundle",
569572
"${PODS_CONFIGURATION_BUILD_DIR}/RNSVG/RNSVGFilters.bundle",
570573
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
571574
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
@@ -600,6 +603,7 @@
600603
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCT-Folly_privacy.bundle",
601604
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNCAsyncStorage_resources.bundle",
602605
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNDeviceInfoPrivacyInfo.bundle",
606+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNPermissionsPrivacyInfo.bundle",
603607
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNSVGFilters.bundle",
604608
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
605609
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",

package-lock.json

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"dependencies": {
1010
"@gorhom/bottom-sheet": "^5.1.1",
1111
"@mendix/native": "10.2.0",
12+
"@notifee/react-native": "9.1.8",
1213
"@op-engineering/op-sqlite": "12.0.2",
1314
"@react-native-async-storage/async-storage": "2.0.0",
1415
"@react-native-camera-roll/camera-roll": "7.4.0",
@@ -18,17 +19,15 @@
1819
"@react-native-community/datetimepicker": "8.2.0",
1920
"@react-native-picker/picker": "2.11.0",
2021
"@react-navigation/native": "7.0.14",
21-
"@notifee/react-native": "9.1.8",
2222
"react-native": "0.77.3",
23-
"react-native-device-info": "14.0.4",
2423
"react-native-blob-util": "0.21.2",
24+
"react-native-device-info": "14.0.4",
2525
"react-native-fast-image": "8.6.3",
2626
"react-native-gesture-handler": "2.23.1",
2727
"react-native-image-picker": "7.2.3",
2828
"react-native-localize": "3.2.1",
2929
"react-native-pager-view": "6.4.1",
3030
"react-native-permissions": "5.4.2",
31-
"react-native-push-notification": "8.1.1",
3231
"react-native-reanimated": "3.16.1",
3332
"react-native-safe-area-context": "5.2.0",
3433
"react-native-screens": "4.6.0",

0 commit comments

Comments
 (0)