Skip to content

Commit 8453805

Browse files
Merge branch 'develop' into svg-crash-fix
2 parents f9af09c + 2038d6d commit 8453805

File tree

8 files changed

+23
-9
lines changed

8 files changed

+23
-9
lines changed

.github/workflows/prettier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ jobs:
4646
git config user.name "${{ github.actor }}"
4747
git config user.email "${{ github.actor }}@users.noreply.github.com"
4848
git add .
49-
git commit -m "chore: format code and fix lint issues [skip ci]"
49+
git commit -m "chore: format code and fix lint issues"
5050
git push origin ${{ github.ref_name }}

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ android {
9090
minSdkVersion rootProject.ext.minSdkVersion
9191
targetSdkVersion rootProject.ext.targetSdkVersion
9292
versionCode VERSIONCODE as Integer
93-
versionName "4.69.0"
93+
versionName "4.70.0"
9494
vectorDrawables.useSupportLibrary = true
9595
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
9696
resValue "string", "rn_config_reader_custom_package", "chat.rocket.reactnative"

android/app/src/main/java/chat/rocket/reactnative/notification/NotificationIntentHandler.kt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@ class NotificationIntentHandler {
9393
}
9494

9595
try {
96+
val notId = extras.getString("notId")
97+
98+
// Clear the notification messages from the static map to prevent stacking
99+
if (!notId.isNullOrEmpty()) {
100+
try {
101+
val notIdInt = notId.toIntOrNull()
102+
if (notIdInt != null) {
103+
CustomPushNotification.clearMessages(notIdInt)
104+
}
105+
} catch (e: Exception) {
106+
Log.e(TAG, "Error clearing notification messages for ID $notId: ${e.message}", e)
107+
}
108+
}
109+
96110
// Extract all notification data from Intent extras
97111
// Only include serializable types to avoid JSON serialization errors
98112
val notificationData = mutableMapOf<String, Any?>()

ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ PODS:
232232
- libwebp/sharpyuv (1.5.0)
233233
- libwebp/webp (1.5.0):
234234
- libwebp/sharpyuv
235-
- MobileCrypto (0.2.0):
235+
- MobileCrypto (0.2.1):
236236
- DoubleConversion
237237
- glog
238238
- hermes-engine
@@ -3082,7 +3082,7 @@ SPEC CHECKSUMS:
30823082
libavif: 84bbb62fb232c3018d6f1bab79beea87e35de7b7
30833083
libdav1d: 23581a4d8ec811ff171ed5e2e05cd27bad64c39f
30843084
libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8
3085-
MobileCrypto: 60a1e43e26a9d6851ae2aa7294b8041c9e9220b7
3085+
MobileCrypto: a424494b2f45bec9dbe60e3f6d16a40aedefe7b7
30863086
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
30873087
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
30883088
PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851

ios/RocketChatRN.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2935,7 +2935,7 @@
29352935
"@executable_path/Frameworks",
29362936
"@executable_path/../../Frameworks",
29372937
);
2938-
MARKETING_VERSION = 4.69.0;
2938+
MARKETING_VERSION = 4.70.0;
29392939
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
29402940
MTL_FAST_MATH = YES;
29412941
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
@@ -2988,7 +2988,7 @@
29882988
"@executable_path/Frameworks",
29892989
"@executable_path/../../Frameworks",
29902990
);
2991-
MARKETING_VERSION = 4.69.0;
2991+
MARKETING_VERSION = 4.70.0;
29922992
MTL_FAST_MATH = YES;
29932993
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
29942994
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;

ios/RocketChatRN/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<key>CFBundlePackageType</key>
2929
<string>APPL</string>
3030
<key>CFBundleShortVersionString</key>
31-
<string>4.69.0</string>
31+
<string>4.70.0</string>
3232
<key>CFBundleSignature</key>
3333
<string>????</string>
3434
<key>CFBundleURLTypes</key>

ios/ShareRocketChatRN/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<key>CFBundlePackageType</key>
2727
<string>XPC!</string>
2828
<key>CFBundleShortVersionString</key>
29-
<string>4.69.0</string>
29+
<string>4.70.0</string>
3030
<key>CFBundleVersion</key>
3131
<string>1</string>
3232
<key>KeychainGroup</key>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rocket-chat-reactnative",
3-
"version": "4.69.0",
3+
"version": "4.70.0",
44
"private": true,
55
"packageManager": "[email protected]",
66
"scripts": {

0 commit comments

Comments
 (0)