diff --git a/android/app/build.gradle b/android/app/build.gradle index ba656cd16..720458e41 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -106,8 +106,8 @@ android { applicationId "com.mattermost.rnbeta" minSdkVersion 21 targetSdkVersion 23 - versionCode 72 - versionName "1.5.0" + versionCode 74 + versionName "1.5.1" multiDexEnabled true ndk { abiFilters "armeabi-v7a", "x86" diff --git a/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java b/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java index aa2d51f84..4e00f8be2 100644 --- a/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java +++ b/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java @@ -63,6 +63,17 @@ public class CustomPushNotification extends PushNotification { } } + public static void clearNotification(Context mContext, int notificationId, String channelId) { + if (notificationId != -1) { + channelIdToNotificationCount.remove(channelId); + channelIdToNotification.remove(channelId); + if (mContext != null) { + final NotificationManager notificationManager = (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); + notificationManager.cancel(notificationId); + } + } + } + @Override public void onReceived() throws InvalidNotificationException { Bundle data = mNotificationProps.asBundle(); diff --git a/android/app/src/main/java/com/mattermost/rnbeta/NotificationDismissService.java b/android/app/src/main/java/com/mattermost/rnbeta/NotificationDismissService.java index 48406f275..8aeefb704 100644 --- a/android/app/src/main/java/com/mattermost/rnbeta/NotificationDismissService.java +++ b/android/app/src/main/java/com/mattermost/rnbeta/NotificationDismissService.java @@ -4,20 +4,23 @@ import android.content.Context; import android.content.Intent; import android.app.IntentService; import android.os.Bundle; +import android.util.Log; import com.wix.reactnativenotifications.core.NotificationIntentAdapter; public class NotificationDismissService extends IntentService { - + private Context mContext; public NotificationDismissService() { super("notificationDismissService"); } @Override protected void onHandleIntent(Intent intent) { + mContext = getApplicationContext(); Bundle bundle = NotificationIntentAdapter.extractPendingNotificationDataFromIntent(intent); int notificationId = intent.getIntExtra(CustomPushNotification.NOTIFICATION_ID, -1); String channelId = bundle.getString("channel_id"); - CustomPushNotification.clearNotification(notificationId, channelId); + CustomPushNotification.clearNotification(mContext, notificationId, channelId); + Log.i("ReactNative", "Dismiss notification"); } } diff --git a/android/app/src/main/java/com/mattermost/rnbeta/NotificationReplyService.java b/android/app/src/main/java/com/mattermost/rnbeta/NotificationReplyService.java index cadc2abcb..1376168a7 100644 --- a/android/app/src/main/java/com/mattermost/rnbeta/NotificationReplyService.java +++ b/android/app/src/main/java/com/mattermost/rnbeta/NotificationReplyService.java @@ -6,6 +6,7 @@ import android.app.NotificationManager; import android.app.RemoteInput; import android.os.Bundle; import android.support.annotation.Nullable; +import android.util.Log; import com.facebook.react.HeadlessJsTaskService; import com.facebook.react.bridge.Arguments; @@ -15,9 +16,11 @@ import com.facebook.react.jstasks.HeadlessJsTaskConfig; import com.wix.reactnativenotifications.core.NotificationIntentAdapter; public class NotificationReplyService extends HeadlessJsTaskService { + private Context mContext; @Override protected @Nullable HeadlessJsTaskConfig getTaskConfig(Intent intent) { + mContext = getApplicationContext(); if (CustomPushNotification.KEY_TEXT_REPLY.equals(intent.getAction())) { CharSequence message = getReplyMessage(intent); @@ -27,8 +30,9 @@ public class NotificationReplyService extends HeadlessJsTaskService { bundle.putInt("msg_count", CustomPushNotification.getMessageCountInChannel(channelId)); int notificationId = intent.getIntExtra(CustomPushNotification.NOTIFICATION_ID, -1); - CustomPushNotification.clearNotification(notificationId, channelId); + CustomPushNotification.clearNotification(mContext, notificationId, channelId); + Log.i("ReactNative", "Replying service"); return new HeadlessJsTaskConfig( "notificationReplied", Arguments.fromBundle(bundle), diff --git a/app/components/swiper.js b/app/components/swiper.js index 50160fc5e..138bece8a 100644 --- a/app/components/swiper.js +++ b/app/components/swiper.js @@ -8,7 +8,7 @@ import { ScrollView, ViewPagerAndroid, Platform, - StyleSheet + StyleSheet, InteractionManager } from 'react-native'; export default class Swiper extends PureComponent { @@ -114,6 +114,14 @@ export default class Swiper extends PureComponent { } }; + scrollToStart = () => { + if (Platform.OS === 'ios') { + InteractionManager.runAfterInteractions(() => { + this.scrollView.scrollTo({x: 0, animated: false}); + }); + } + }; + refScrollView = (view) => { this.scrollView = view; }; diff --git a/app/screens/client_upgrade/client_upgrade.js b/app/screens/client_upgrade/client_upgrade.js index fdbeacd8f..8258ced37 100644 --- a/app/screens/client_upgrade/client_upgrade.js +++ b/app/screens/client_upgrade/client_upgrade.js @@ -18,7 +18,7 @@ import StatusBar from 'app/components/status_bar'; import {UpgradeTypes} from 'app/constants/view'; import logo from 'assets/images/logo.png'; import checkUpgradeType from 'app/utils/client_upgrade'; -import {makeStyleSheetFromTheme, setNavigatorStyles} from 'app/utils/theme'; +import {changeOpacity, makeStyleSheetFromTheme, setNavigatorStyles} from 'app/utils/theme'; export default class ClientUpgrade extends PureComponent { static propTypes = { @@ -262,23 +262,29 @@ export default class ClientUpgrade extends PureComponent { const styles = getStyleFromTheme(theme); return ( - + - - {this.renderMessageContent()} - + + + {this.renderMessageContent()} + + ); } } const getStyleFromTheme = makeStyleSheetFromTheme((theme) => { return { + container: { + flex: 1, + backgroundColor: theme.centerChannelBg + }, image: { marginTop: 75, width: 76, @@ -325,7 +331,8 @@ const getStyleFromTheme = makeStyleSheetFromTheme((theme) => { paddingHorizontal: 30 }, scrollView: { - flex: 1 + flex: 1, + backgroundColor: changeOpacity(theme.centerChannelColor, 0.03) }, scrollViewContent: { paddingBottom: 20, diff --git a/ios/Mattermost.xcodeproj/project.pbxproj b/ios/Mattermost.xcodeproj/project.pbxproj index 8360a8646..8c9ba969c 100644 --- a/ios/Mattermost.xcodeproj/project.pbxproj +++ b/ios/Mattermost.xcodeproj/project.pbxproj @@ -5,6 +5,7 @@ }; objectVersion = 46; objects = { + /* Begin PBXBuildFile section */ 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; @@ -30,6 +31,7 @@ 37ABD3C81F4CE142001FDE6B /* libART.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 37ABD39C1F4CE13B001FDE6B /* libART.a */; }; 382D94CF15EE4FC292C3F341 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 51F5A483EA9F4A9A87ACFB59 /* Foundation.ttf */; }; 3D38ABA732A34A9BB3294F90 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 349FBA7338E74D9BBD709528 /* EvilIcons.ttf */; }; + 3F876A0DC6314E27B16C8A96 /* libRNReactNativeDocViewer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BAF8296411D4657B5A0E8F8 /* libRNReactNativeDocViewer.a */; }; 420A7328E12C4B72AEF420CE /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EDC04CBCF81642219D199CBB /* Octicons.ttf */; }; 55C6561DDBBA45929D88B6D1 /* OpenSans-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 32AC3D4EA79E44738A6E9766 /* OpenSans-BoldItalic.ttf */; }; 5A0920184BD344979BCFCD5C /* libRCTVideo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B89192186C764B9FA473403A /* libRCTVideo.a */; }; @@ -65,6 +67,7 @@ 7FEB109E1F61019C0039A015 /* UIImage+ImageEffects.m in Sources */ = {isa = PBXBuildFile; fileRef = 7FEB109C1F61019C0039A015 /* UIImage+ImageEffects.m */; }; 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 895C9A56B94A45C1BAF568FE /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AC6EB561E1F64C17A69D2FAD /* Entypo.ttf */; }; + 8D26455C994F46C39B1392F2 /* libRNSafeArea.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9263CF9B16054263B13EA23B /* libRNSafeArea.a */; }; 9358B95F95184EE0A4DCE629 /* OpenSans-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4B1B363C2414DA19C1AC521 /* OpenSans-Bold.ttf */; }; A08D512E7ADC40CCAD055A9E /* OpenSans-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BC977883E2624E05975CA65B /* OpenSans-Regular.ttf */; }; A9B746D2CFA9CEBFB8AE2B5B /* libPods-Mattermost.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 65FD5EA57EBAE06106094B2F /* libPods-Mattermost.a */; }; @@ -75,8 +78,6 @@ F006936FC2884C24A1321FC0 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 356C9186FA374641A00EB2EA /* MaterialIcons.ttf */; }; F083DB472349411A8E6E7AAD /* OpenSans-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BE17F630DB5D41FD93F32D22 /* OpenSans-LightItalic.ttf */; }; F23C99AA5FA10E457A76803A /* libPods-MattermostTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4246DC09024BB33A3E491E25 /* libPods-MattermostTests.a */; }; - 3F876A0DC6314E27B16C8A96 /* libRNReactNativeDocViewer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BAF8296411D4657B5A0E8F8 /* libRNReactNativeDocViewer.a */; }; - 8D26455C994F46C39B1392F2 /* libRNSafeArea.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9263CF9B16054263B13EA23B /* libRNSafeArea.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -416,6 +417,20 @@ remoteGlobalIDString = 4681C02C1B05271A004D67D4; remoteInfo = ToolTipMenuTests; }; + 7F6CEE231FDAEA0D0010135A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 41898656FAE24E0BB390D0E4 /* RNReactNativeDocViewer.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 134814201AA4EA6300B7C361; + remoteInfo = RNReactNativeDocViewer; + }; + 7F6CEE281FDAEA0D0010135A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 849D881A0372465294DE7315 /* RNSafeArea.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 6DA7B8031F692C4C00FD1D50; + remoteInfo = RNSafeArea; + }; 7F8AAB3B1F4E0FEB00F5A52C /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 50ECB1D221E44F51B5690DF2 /* FastImage.xcodeproj */; @@ -444,27 +459,6 @@ remoteGlobalIDString = 38C138441D3FC3F600A8162D; remoteInfo = JailMonkey; }; - 7F93F9B11FBB726B0088E416 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; - remoteInfo = fishhook; - }; - 7F93F9B31FBB726B0088E416 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; - remoteInfo = "fishhook-tvOS"; - }; - 7F93F9C71FBB726B0088E416 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B97AA6F961BB47D3A3297E8E /* RNDeviceInfo.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = E72EC1401F7ABB5A0001BC90; - remoteInfo = "RNDeviceInfo-tvOS"; - }; 7F93F9D81FBB726B0088E416 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = DF9DAAAA482343F3910A1A4C /* RCTVideo.xcodeproj */; @@ -581,6 +575,7 @@ 3820CC3BBC4B0129958555A9 /* Pods-MattermostTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MattermostTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MattermostTests/Pods-MattermostTests.debug.xcconfig"; sourceTree = ""; }; 3B1E210BF3B649BBBF427977 /* ReactNativeExceptionHandler.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeExceptionHandler.xcodeproj; path = "../node_modules/react-native-exception-handler/ios/ReactNativeExceptionHandler.xcodeproj"; sourceTree = ""; }; 41465DE822E9429EB8B90CB4 /* Pods-MattermostTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MattermostTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-MattermostTests/Pods-MattermostTests.release.xcconfig"; sourceTree = ""; }; + 41898656FAE24E0BB390D0E4 /* RNReactNativeDocViewer.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNReactNativeDocViewer.xcodeproj; path = "../node_modules/react-native-doc-viewer/ios/RNReactNativeDocViewer.xcodeproj"; sourceTree = ""; }; 41F3AFE83AAF4B74878AB78A /* OpenSans-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "OpenSans-Italic.ttf"; path = "../assets/fonts/OpenSans-Italic.ttf"; sourceTree = ""; }; 4246DC09024BB33A3E491E25 /* libPods-MattermostTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-MattermostTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 4A22BC320BA04E18A7F2A4E6 /* libReactNativeExceptionHandler.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libReactNativeExceptionHandler.a; sourceTree = ""; }; @@ -594,6 +589,7 @@ 634A8F047C73D24A87850EC0 /* Pods-Mattermost.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Mattermost.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Mattermost/Pods-Mattermost.debug.xcconfig"; sourceTree = ""; }; 6561AEAC21CC40B8A72ABB93 /* OpenSans-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "OpenSans-Light.ttf"; path = "../assets/fonts/OpenSans-Light.ttf"; sourceTree = ""; }; 65FD5EA57EBAE06106094B2F /* libPods-Mattermost.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Mattermost.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 6BAF8296411D4657B5A0E8F8 /* libRNReactNativeDocViewer.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNReactNativeDocViewer.a; sourceTree = ""; }; 7535D128F00C4A47A182627E /* libRNCookieManagerIOS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNCookieManagerIOS.a; sourceTree = ""; }; 77810F0A063349439B0D8B6B /* libJailMonkey.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libJailMonkey.a; sourceTree = ""; }; 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; @@ -617,7 +613,9 @@ 7FEB109B1F61019C0039A015 /* UIImage+ImageEffects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIImage+ImageEffects.h"; path = "Mattermost/UIImage+ImageEffects.h"; sourceTree = ""; }; 7FEB109C1F61019C0039A015 /* UIImage+ImageEffects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIImage+ImageEffects.m"; path = "Mattermost/UIImage+ImageEffects.m"; sourceTree = ""; }; 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; + 849D881A0372465294DE7315 /* RNSafeArea.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSafeArea.xcodeproj; path = "../node_modules/react-native-safe-area/ios/RNSafeArea.xcodeproj"; sourceTree = ""; }; 8606EB1EB7E349EF8248933E /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; + 9263CF9B16054263B13EA23B /* libRNSafeArea.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNSafeArea.a; sourceTree = ""; }; 9552041247E749308CE7B412 /* RNSentry.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSentry.xcodeproj; path = "../node_modules/react-native-sentry/ios/RNSentry.xcodeproj"; sourceTree = ""; }; A2968536BEC74A4ABBB73BD9 /* RCTYouTube.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTYouTube.xcodeproj; path = "../node_modules/react-native-youtube/RCTYouTube.xcodeproj"; sourceTree = ""; }; AC6EB561E1F64C17A69D2FAD /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; @@ -637,10 +635,6 @@ EE671DF7637347CD8C069819 /* libRNDeviceInfo.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNDeviceInfo.a; sourceTree = ""; }; F1F071EE85494E269A50AE88 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; FBBEC29EE2D3418D9AC33BD5 /* OpenSans-ExtraBoldItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "OpenSans-ExtraBoldItalic.ttf"; path = "../assets/fonts/OpenSans-ExtraBoldItalic.ttf"; sourceTree = ""; }; - 41898656FAE24E0BB390D0E4 /* RNReactNativeDocViewer.xcodeproj */ = {isa = PBXFileReference; name = "RNReactNativeDocViewer.xcodeproj"; path = "../node_modules/react-native-doc-viewer/ios/RNReactNativeDocViewer.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; - 6BAF8296411D4657B5A0E8F8 /* libRNReactNativeDocViewer.a */ = {isa = PBXFileReference; name = "libRNReactNativeDocViewer.a"; path = "libRNReactNativeDocViewer.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; - 849D881A0372465294DE7315 /* RNSafeArea.xcodeproj */ = {isa = PBXFileReference; name = "RNSafeArea.xcodeproj"; path = "../node_modules/react-native-safe-area/ios/RNSafeArea.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; - 9263CF9B16054263B13EA23B /* libRNSafeArea.a */ = {isa = PBXFileReference; name = "libRNSafeArea.a"; path = "libRNSafeArea.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -922,6 +916,8 @@ 8606EB1EB7E349EF8248933E /* libz.tbd */, 7535D128F00C4A47A182627E /* libRNCookieManagerIOS.a */, B89192186C764B9FA473403A /* libRCTVideo.a */, + 6BAF8296411D4657B5A0E8F8 /* libRNReactNativeDocViewer.a */, + 9263CF9B16054263B13EA23B /* libRNSafeArea.a */, ); name = "Recovered References"; sourceTree = ""; @@ -1000,6 +996,22 @@ name = Products; sourceTree = ""; }; + 7F6CEE201FDAEA0D0010135A /* Products */ = { + isa = PBXGroup; + children = ( + 7F6CEE241FDAEA0D0010135A /* libRNReactNativeDocViewer.a */, + ); + name = Products; + sourceTree = ""; + }; + 7F6CEE251FDAEA0D0010135A /* Products */ = { + isa = PBXGroup; + children = ( + 7F6CEE291FDAEA0D0010135A /* libRNSafeArea.a */, + ); + name = Products; + sourceTree = ""; + }; 7F8AAB371F4E0FEB00F5A52C /* Products */ = { isa = PBXGroup; children = ( @@ -1366,6 +1378,14 @@ ProductGroup = 7F8C49D11F3E070F003A22BA /* Products */; ProjectRef = EBA6063A99C141098D40C67A /* RNPasscodeStatus.xcodeproj */; }, + { + ProductGroup = 7F6CEE201FDAEA0D0010135A /* Products */; + ProjectRef = 41898656FAE24E0BB390D0E4 /* RNReactNativeDocViewer.xcodeproj */; + }, + { + ProductGroup = 7F6CEE251FDAEA0D0010135A /* Products */; + ProjectRef = 849D881A0372465294DE7315 /* RNSafeArea.xcodeproj */; + }, { ProductGroup = 7FA795021F61A1A500C02924 /* Products */; ProjectRef = 9552041247E749308CE7B412 /* RNSentry.xcodeproj */; @@ -1721,6 +1741,20 @@ remoteRef = 7F6877B11E7835E50094B63F /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; + 7F6CEE241FDAEA0D0010135A /* libRNReactNativeDocViewer.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libRNReactNativeDocViewer.a; + remoteRef = 7F6CEE231FDAEA0D0010135A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 7F6CEE291FDAEA0D0010135A /* libRNSafeArea.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libRNSafeArea.a; + remoteRef = 7F6CEE281FDAEA0D0010135A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; 7F8AAB3C1F4E0FEB00F5A52C /* libFastImage.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -1749,27 +1783,6 @@ remoteRef = 7F8C4A611F3E21FB003A22BA /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 7F93F9B21FBB726B0088E416 /* libfishhook.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libfishhook.a; - remoteRef = 7F93F9B11FBB726B0088E416 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 7F93F9B41FBB726B0088E416 /* libfishhook-tvOS.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libfishhook-tvOS.a"; - remoteRef = 7F93F9B31FBB726B0088E416 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 7F93F9C81FBB726B0088E416 /* libRNDeviceInfo-tvOS.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libRNDeviceInfo-tvOS.a"; - remoteRef = 7F93F9C71FBB726B0088E416 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; 7F93F9D91FBB726B0088E416 /* libRCTVideo.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -2113,7 +2126,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Mattermost/Mattermost.entitlements; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 72; + CURRENT_PROJECT_VERSION = 74; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = UQ8HT4Q2XM; ENABLE_BITCODE = NO; @@ -2163,7 +2176,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = Mattermost/Mattermost.entitlements; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 72; + CURRENT_PROJECT_VERSION = 74; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = UQ8HT4Q2XM; ENABLE_BITCODE = NO; diff --git a/ios/Mattermost/Info.plist b/ios/Mattermost/Info.plist index fce86fc9e..bb1f6a2d6 100644 --- a/ios/Mattermost/Info.plist +++ b/ios/Mattermost/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.0 + 1.5.1 CFBundleSignature ???? CFBundleURLTypes @@ -32,7 +32,7 @@ CFBundleVersion - 72 + 74 ITSAppUsesNonExemptEncryption LSRequiresIPhoneOS @@ -55,7 +55,7 @@ NSCameraUsageDescription Take a Photo or Video and upload it to your mattermost instance NSLocationWhenInUseUsageDescription - + NSPhotoLibraryUsageDescription Upload Photos and Videos to your Mattermost instance UIAppFonts diff --git a/ios/MattermostTests/Info.plist b/ios/MattermostTests/Info.plist index 588970528..0d5f88029 100644 --- a/ios/MattermostTests/Info.plist +++ b/ios/MattermostTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 72 + 74