diff --git a/app/sagas/deepLinking.js b/app/sagas/deepLinking.js
index 59b3e7d2f..9cd2d57f5 100644
--- a/app/sagas/deepLinking.js
+++ b/app/sagas/deepLinking.js
@@ -31,8 +31,18 @@ const handleOpen = function* handleOpen({ params }) {
yield take(types.APP.READY);
}
+ if (!params.host) {
+ return;
+ }
+
const host = `https://${ params.host }`;
+ try {
+ yield RocketChat.testServer(host);
+ } catch (error) {
+ return;
+ }
+
// TODO: needs better test
// if deep link is from same server
if (server === host) {
diff --git a/ios/RocketChatRN/Info.plist b/ios/RocketChatRN/Info.plist
index accf9760b..9f7b25264 100644
--- a/ios/RocketChatRN/Info.plist
+++ b/ios/RocketChatRN/Info.plist
@@ -30,7 +30,6 @@
CFBundleURLSchemes
rocketchat
- https://go.rocket.chat
diff --git a/ios/RocketChatRN/RocketChatRN.entitlements b/ios/RocketChatRN/RocketChatRN.entitlements
index 903def2af..1484e4f68 100644
--- a/ios/RocketChatRN/RocketChatRN.entitlements
+++ b/ios/RocketChatRN/RocketChatRN.entitlements
@@ -4,5 +4,9 @@
aps-environment
development
+ com.apple.developer.associated-domains
+
+ applinks:go.rocket.chat
+