diff --git a/android/app/build.gradle b/android/app/build.gradle
index 4bf802c038..521e42106b 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -93,7 +93,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode VERSIONCODE as Integer
- versionName "4.56.0"
+ versionName "4.56.1"
vectorDrawables.useSupportLibrary = true
if (!isFoss) {
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
diff --git a/ios/RocketChatRN.xcodeproj/project.pbxproj b/ios/RocketChatRN.xcodeproj/project.pbxproj
index 4013383ecd..af7cd37ae4 100644
--- a/ios/RocketChatRN.xcodeproj/project.pbxproj
+++ b/ios/RocketChatRN.xcodeproj/project.pbxproj
@@ -2983,7 +2983,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 4.56.0;
+ MARKETING_VERSION = 4.56.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
@@ -3027,7 +3027,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 4.56.0;
+ MARKETING_VERSION = 4.56.1;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;
diff --git a/ios/RocketChatRN/Info.plist b/ios/RocketChatRN/Info.plist
index 125f8501b6..fa34654a3d 100644
--- a/ios/RocketChatRN/Info.plist
+++ b/ios/RocketChatRN/Info.plist
@@ -28,7 +28,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 4.56.0
+ 4.56.1
CFBundleSignature
????
CFBundleURLTypes
diff --git a/ios/SSLPinning/SSLPinning.m b/ios/SSLPinning/SSLPinning.m
index 570f9e7be0..3632476de9 100644
--- a/ios/SSLPinning/SSLPinning.m
+++ b/ios/SSLPinning/SSLPinning.m
@@ -1,3 +1,9 @@
-#import "React/RCTBridgeModule.h"
+#import
+
@interface RCT_EXTERN_MODULE(SSLPinning, NSObject)
+
+RCT_EXTERN_METHOD(setCertificate:(NSString *)server
+ :(NSString *)path
+ :(NSString *)password)
+
@end
diff --git a/ios/SSLPinning/SSLPinning.swift b/ios/SSLPinning/SSLPinning.swift
index 021d7e1117..d8250a5dbf 100644
--- a/ios/SSLPinning/SSLPinning.swift
+++ b/ios/SSLPinning/SSLPinning.swift
@@ -28,7 +28,7 @@ final class SSLPinning: NSObject {
}
serversQuery.forEach { server in
- guard let serverUrlString = server["url"] as? String,
+ guard let serverUrlString = server["id"] as? String,
let serverUrl = URL(string: serverUrlString),
let clientSSL = mmkv.clientSSL(for: serverUrl) else {
return
diff --git a/ios/ShareRocketChatRN/Info.plist b/ios/ShareRocketChatRN/Info.plist
index 2ce93a820e..bd555c501e 100644
--- a/ios/ShareRocketChatRN/Info.plist
+++ b/ios/ShareRocketChatRN/Info.plist
@@ -26,7 +26,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 4.56.0
+ 4.56.1
CFBundleVersion
1
KeychainGroup
diff --git a/package.json b/package.json
index 23dbee3a6e..247f9bd745 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "rocket-chat-reactnative",
- "version": "4.56.0",
+ "version": "4.56.1",
"private": true,
"scripts": {
"start": "react-native start",