From e35f7fe5838588f50d2540e4932acfbfa672c278 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Fri, 5 Mar 2021 10:42:04 -0300 Subject: [PATCH] [FIX] Share extension not working correctly on Official app (#2963) --- .circleci/config.yml | 4 ++++ ios/NotificationService/Info.plist | 2 ++ ios/ShareRocketChatRN/Info.plist | 2 ++ 3 files changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index db8bfc7d8..3e3a66b87 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -237,9 +237,13 @@ commands: if [[ $CIRCLE_JOB == "ios-build-official" ]]; then /usr/libexec/PlistBuddy -c "Set BugsnagAPIKey $BUGSNAG_KEY_OFFICIAL" ./RocketChatRN/Info.plist /usr/libexec/PlistBuddy -c "Set IS_OFFICIAL YES" ./RocketChatRN/Info.plist + /usr/libexec/PlistBuddy -c "Set IS_OFFICIAL YES" ./ShareRocketChatRN/Info.plist + /usr/libexec/PlistBuddy -c "Set IS_OFFICIAL YES" ./NotificationService/Info.plist else /usr/libexec/PlistBuddy -c "Set BugsnagAPIKey $BUGSNAG_KEY" ./RocketChatRN/Info.plist /usr/libexec/PlistBuddy -c "Set IS_OFFICIAL NO" ./RocketChatRN/Info.plist + /usr/libexec/PlistBuddy -c "Set IS_OFFICIAL NO" ./ShareRocketChatRN/Info.plist + /usr/libexec/PlistBuddy -c "Set IS_OFFICIAL NO" ./NotificationService/Info.plist fi if [[ $APP_STORE_CONNECT_API_KEY ]]; then diff --git a/ios/NotificationService/Info.plist b/ios/NotificationService/Info.plist index d2f1244d4..9d9595029 100644 --- a/ios/NotificationService/Info.plist +++ b/ios/NotificationService/Info.plist @@ -4,6 +4,8 @@ AppGroup group.ios.chat.rocket + IS_OFFICIAL + CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName diff --git a/ios/ShareRocketChatRN/Info.plist b/ios/ShareRocketChatRN/Info.plist index 515361fac..d545207a6 100644 --- a/ios/ShareRocketChatRN/Info.plist +++ b/ios/ShareRocketChatRN/Info.plist @@ -4,6 +4,8 @@ AppGroup group.ios.chat.rocket + IS_OFFICIAL + CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName