Skip to content

Commit 5bf5ffd

Browse files
Merge branch 'mx/10.24' into moo/MOO-1498-dev-mode-issue-fix
2 parents d4d9075 + 0c187df commit 5bf5ffd

12 files changed

Lines changed: 42 additions & 90 deletions

File tree

CHANGELOG.android.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
- We have improved the UI for users who use three-button navigation when edge-to-edge mode is enabled.
1+
- We have migrated from react-native-push-notification to @notifee/react-native for better new architecture compatibility and enhanced push notification features.
2+
- We fixed an issue where TextInput-based fields like the TextBox and TextArea would not receive focus on Android devices via touch.

CHANGELOG.ios.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- We have migrated from react-native-push-notification to @notifee/react-native for better new architecture compatibility and enhanced push notification features.

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
2424
<!-- Required for scheduling local notifications -->
2525
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
26+
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />
2627
<!-- Ignore deprecation: We still need this for the RN I think -->
2728
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
2829
<!-- Ignore deprecation -->
@@ -97,18 +98,6 @@
9798
</intent-filter>
9899
</activity>
99100

100-
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions"/>
101-
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher"/>
102-
<receiver
103-
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver"
104-
android:exported="true">
105-
<intent-filter>
106-
<action android:name="android.intent.action.BOOT_COMPLETED"/>
107-
<action android:name="android.intent.action.QUICKBOOT_POWERON"/>
108-
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
109-
</intent-filter>
110-
</receiver>
111-
112101
<service
113102
android:name=".firebase.FirebaseMessagingService"
114103
android:exported="false">

android/app/src/main/java/com/mendix/developerapp/firebase/FirebaseMessagingService.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import android.net.Uri
99
import android.os.Build
1010
import android.util.Log
1111
import androidx.core.app.NotificationCompat
12-
import com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService
1312
import com.google.firebase.messaging.RemoteMessage
1413
import com.mendix.developerapp.R
1514

@@ -39,7 +38,7 @@ class FirebaseMessagingService: com.google.firebase.messaging.FirebaseMessagingS
3938
}
4039

4140

42-
val notificationManager = context.getSystemService(RNPushNotificationListenerService.NOTIFICATION_SERVICE) as NotificationManager
41+
val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
4342
// Since android Oreo notification channel is needed.
4443
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
4544
val channel = NotificationChannel(MENDIX_AD_CAMPAIGN_CHANNEL,

android/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ allprojects {
6666
}
6767
google()
6868
maven { url 'https://jitpack.io' }
69+
maven {
70+
url "$rootDir/../node_modules/@notifee/react-native/android/libs"
71+
}
6972
}
7073

7174
// Build all modules with Android 16KB pages enabled

ios/DeveloperApp/AppDelegate.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
123123
didReceive response: UNNotificationResponse,
124124
withCompletionHandler completionHandler: @escaping () -> Void
125125
) {
126-
if (!handleMendixNotification(response: response)) {
127-
RNCPushNotificationIOS.didReceive(response)
128-
}
129126
completionHandler()
130127
}
131128

ios/DeveloperApp/DeveloperApp-Bridging-Header.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
#import "MendixNative.h"
44
#import "IQKeyboardManager/IQKeyboardManager.h"
55
#import "RNSplashScreen.h"
6-
#import "RNCPushNotificationIOS.h"

ios/DeveloperApp/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<key>NSPhotoLibraryUsageDescription</key>
8787
<string>To use that feature the app needs access to your photo library.</string>
8888
<key>Native Binary Version</key>
89-
<integer>14</integer>
89+
<integer>15</integer>
9090
<key>NativeOTAEnabled</key>
9191
<true/>
9292
<key>ReferenceGuideUrl</key>

ios/Podfile.lock

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,8 +1892,6 @@ PODS:
18921892
- React-Core
18931893
- RNCPicker (2.11.0):
18941894
- React-Core
1895-
- RNCPushNotificationIOS (1.10.1):
1896-
- React-Core
18971895
- RNDateTimePicker (8.2.0):
18981896
- React-Core
18991897
- RNDeviceInfo (13.0.0):
@@ -1949,6 +1947,11 @@ PODS:
19491947
- React-Core
19501948
- RNLocalize (3.2.1):
19511949
- React-Core
1950+
- RNNotifee (9.1.8):
1951+
- React-Core
1952+
- RNNotifee/NotifeeCore (= 9.1.8)
1953+
- RNNotifee/NotifeeCore (9.1.8):
1954+
- React-Core
19521955
- RNPermissions (4.1.5):
19531956
- React-Core
19541957
- RNReanimated (3.16.1):
@@ -2208,7 +2211,6 @@ DEPENDENCIES:
22082211
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
22092212
- "RNCMaskedView (from `../node_modules/@react-native-masked-view/masked-view`)"
22102213
- "RNCPicker (from `../node_modules/@react-native-picker/picker`)"
2211-
- "RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)"
22122214
- "RNDateTimePicker (from `../node_modules/@react-native-community/datetimepicker`)"
22132215
- RNDeviceInfo (from `../node_modules/react-native-device-info`)
22142216
- RNFastImage (from `../node_modules/react-native-fast-image`)
@@ -2221,6 +2223,7 @@ DEPENDENCIES:
22212223
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
22222224
- RNInAppBrowser (from `../node_modules/react-native-inappbrowser-reborn`)
22232225
- RNLocalize (from `../node_modules/react-native-localize`)
2226+
- "RNNotifee (from `../node_modules/@notifee/react-native`)"
22242227
- RNPermissions (from `../node_modules/react-native-permissions`)
22252228
- RNReanimated (from `../node_modules/react-native-reanimated`)
22262229
- RNScreens (from `../node_modules/react-native-screens`)
@@ -2437,8 +2440,6 @@ EXTERNAL SOURCES:
24372440
:path: "../node_modules/@react-native-masked-view/masked-view"
24382441
RNCPicker:
24392442
:path: "../node_modules/@react-native-picker/picker"
2440-
RNCPushNotificationIOS:
2441-
:path: "../node_modules/@react-native-community/push-notification-ios"
24422443
RNDateTimePicker:
24432444
:path: "../node_modules/@react-native-community/datetimepicker"
24442445
RNDeviceInfo:
@@ -2463,6 +2464,8 @@ EXTERNAL SOURCES:
24632464
:path: "../node_modules/react-native-inappbrowser-reborn"
24642465
RNLocalize:
24652466
:path: "../node_modules/react-native-localize"
2467+
RNNotifee:
2468+
:path: "../node_modules/@notifee/react-native"
24662469
RNPermissions:
24672470
:path: "../node_modules/react-native-permissions"
24682471
RNReanimated:
@@ -2594,7 +2597,6 @@ SPEC CHECKSUMS:
25942597
RNCAsyncStorage: 40367e8d25522dca9c3513c7b9815a184669bd97
25952598
RNCMaskedView: de80352547bd4f0d607bf6bab363d826822bd126
25962599
RNCPicker: 124b4fb5859ba1a3fd53a91e16d1e7a0fc016e59
2597-
RNCPushNotificationIOS: 778dc253960de7b6544abe6cee86fea1e2c590ab
25982600
RNDateTimePicker: 818460dc31b0dc5ec58289003e27dd8d022fb79c
25992601
RNDeviceInfo: ae4e1a9b955b2a65314588cc7251795631925668
26002602
RNFastImage: 462a183c4b0b6b26fdfd639e1ed6ba37536c3b87
@@ -2607,6 +2609,7 @@ SPEC CHECKSUMS:
26072609
RNGestureHandler: 9bf6e8f72d2e72c8f7eb45986fe71a5005fb072d
26082610
RNInAppBrowser: 031138591f9cbf57e987d0fe97f4e73d5fc7524b
26092611
RNLocalize: e7378161f0b6a6365407eb2377aab46cc38047d8
2612+
RNNotifee: 5e3b271e8ea7456a36eec994085543c9adca9168
26102613
RNPermissions: e1ce3272c349e0e06c38d540353967737428336b
26112614
RNReanimated: 20f0d150af988258289b2d6cda655bd14945a769
26122615
RNScreens: 86e5c168cdd055a8feead28eb756ca7103918b6a

package-lock.json

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

0 commit comments

Comments
 (0)